This commit is contained in:
rusefi 2017-05-07 08:20:23 -04:00
parent 8f9a0bfe49
commit 66ec33f0e4
3 changed files with 6 additions and 3 deletions

View File

@ -633,7 +633,9 @@ void handleTestCommand(ts_channel_s *tsChannel) {
extern CommandHandler console_line_callback; extern CommandHandler console_line_callback;
static void handleGetVersion(ts_channel_s *tsChannel, ts_response_format_e mode) { static void handleGetVersion(ts_channel_s *tsChannel, ts_response_format_e mode) {
// tsSendResponse(tsChannel, mode, (const uint8_t *) "rusEfi v", 8 + 1); static char versionBuffer[32];
chsnprintf(versionBuffer, sizeof(versionBuffer), "rusEFI v%d@%s", getRusEfiVersion(), VCS_VERSION);
tsSendResponse(tsChannel, mode, (const uint8_t *) versionBuffer, strlen(versionBuffer) + 1);
} }
static void handleGetText(ts_channel_s *tsChannel) { static void handleGetText(ts_channel_s *tsChannel) {

View File

@ -7,6 +7,7 @@ enable2ndByteCanID = false
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
versionInfo = "V" ; firmwave version for title bar.
signature = "MShift v0.02" ; signature is expected to be 7 or more characters. signature = "MShift v0.02" ; signature is expected to be 7 or more characters.
[Constants] [Constants]
@ -44,7 +45,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code ; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START ; CONFIG_DEFINITION_START
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon May 01 20:47:16 EDT 2017 ; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat May 06 20:23:49 EDT 2017
pageSize = 16376 pageSize = 16376
page = 1 page = 1

View File

@ -7,7 +7,7 @@ enable2ndByteCanID = false
[TunerStudio] [TunerStudio]
queryCommand = "S" queryCommand = "S"
; versionInfo = "V" ; firmwave version for title bar. versionInfo = "V" ; firmwave version for title bar.
signature = "MShift v0.02" ; signature is expected to be 7 or more characters. signature = "MShift v0.02" ; signature is expected to be 7 or more characters.
[Constants] [Constants]