12#define TS_PAGE_SETTINGS 0x0000
14#define TS_PAGE_SCATTER_OFFSETS 0x0100
15#define TS_PAGE_LTFT_TRIMS 0x0200
44#define DO_NOT_LOG nullptr
76#if EFI_PROD_CODE || EFI_SIMULATOR
77#define CONNECTIVITY_THREAD_STACK (3 * UTILITY_THREAD_STACK_SIZE)
A base class for a controller that requires its own thread.
virtual TsChannelBase * setupChannel()=0
TunerstudioThread(const char *name)
void ThreadTask() override
int readPageCommandsCounter
int errorUnrecognizedCommand
int readScatterCommandsCounter
int outputChannelsCommandCounter
int crc32CheckCommandCounter
int writeChunkCommandCounter
This file sets the thread priority for the threads running on rusEFI.
bool isTouchingArea(uint16_t offset, uint16_t count, int areaStart, int areaSize)
bool needToTriggerTsRefresh()
TunerstudioThread __attribute__
tunerstudio_counters_s tsState
void updateTunerStudioState()
void sendErrorCode(TsChannelBase *tsChannel, uint8_t code, const char *msg="")
void startTunerStudioConnectivity()
void tunerStudioDebug(TsChannelBase *tsChannel, const char *msg)
int getSecondsSinceChannelsRequest()
void tunerStudioError(TsChannelBase *tsChannel, const char *msg)