only: documentation and templating magic constant
This commit is contained in:
parent
e48e353299
commit
c44ec74f70
|
@ -671,6 +671,7 @@ void tunerStudioError(TsChannelBase* tsChannel, const char *msg) {
|
||||||
|
|
||||||
extern CommandHandler console_line_callback;
|
extern CommandHandler console_line_callback;
|
||||||
|
|
||||||
|
// see also handleQueryCommand
|
||||||
static void handleGetVersion(TsChannelBase* tsChannel) {
|
static void handleGetVersion(TsChannelBase* tsChannel) {
|
||||||
char versionBuffer[32];
|
char versionBuffer[32];
|
||||||
chsnprintf(versionBuffer, sizeof(versionBuffer), "%s v%d@%u", "rusEFI", getRusEfiVersion(), SIGNATURE_HASH);
|
chsnprintf(versionBuffer, sizeof(versionBuffer), "%s v%d@%u", "rusEFI", getRusEfiVersion(), SIGNATURE_HASH);
|
||||||
|
|
|
@ -2347,7 +2347,7 @@ end_struct
|
||||||
! These commands are used by TunerStudio and the rusEFI console
|
! These commands are used by TunerStudio and the rusEFI console
|
||||||
! 0x4F ochGetCommand
|
! 0x4F ochGetCommand
|
||||||
#define TS_OUTPUT_COMMAND 'O'
|
#define TS_OUTPUT_COMMAND 'O'
|
||||||
! 0x53 queryCommand
|
! 0x53 queryCommand - this one is about detailed signature
|
||||||
#define TS_HELLO_COMMAND 'S'
|
#define TS_HELLO_COMMAND 'S'
|
||||||
! todo: replace all usages of TS_HELLO_COMMAND with TS_QUERY_COMMAND
|
! todo: replace all usages of TS_HELLO_COMMAND with TS_QUERY_COMMAND
|
||||||
! todo#2: actually is above still the case?
|
! todo#2: actually is above still the case?
|
||||||
|
@ -2386,7 +2386,7 @@ end_struct
|
||||||
! 0x46
|
! 0x46
|
||||||
#define TS_COMMAND_F 'F'
|
#define TS_COMMAND_F 'F'
|
||||||
#define TS_GET_PROTOCOL_VERSION_COMMAND_F 'F'
|
#define TS_GET_PROTOCOL_VERSION_COMMAND_F 'F'
|
||||||
! versionInfo 0x56 86
|
! versionInfo 0x56 86 this one is only used for TS and console title bars, right?
|
||||||
#define TS_GET_FIRMWARE_VERSION 'V'
|
#define TS_GET_FIRMWARE_VERSION 'V'
|
||||||
! returns getFirmwareError(), works together with ind_hasFatalError
|
! returns getFirmwareError(), works together with ind_hasFatalError
|
||||||
#define TS_GET_CONFIG_ERROR 'e'
|
#define TS_GET_CONFIG_ERROR 'e'
|
||||||
|
|
|
@ -42,7 +42,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
[TunerStudio]
|
[TunerStudio]
|
||||||
queryCommand = "@#TS_HELLO_COMMAND#@"
|
queryCommand = "@#TS_HELLO_COMMAND#@"
|
||||||
versionInfo = "V" ; firmware version for title bar.
|
versionInfo = "@#TS_GET_FIRMWARE_VERSION#@" ; firmware version for title bar.
|
||||||
signature= @@TS_SIGNATURE@@ ; signature is expected to be 7 or more characters.
|
signature= @@TS_SIGNATURE@@ ; signature is expected to be 7 or more characters.
|
||||||
|
|
||||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||||
|
|
Loading…
Reference in New Issue