diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index e22a673d23..5b8b0d5c2d 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -633,7 +633,9 @@ void handleTestCommand(ts_channel_s *tsChannel) { extern CommandHandler console_line_callback; 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) { diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index fc0f576110..b002dc2b0a 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -7,6 +7,7 @@ enable2ndByteCanID = false [TunerStudio] queryCommand = "S" + versionInfo = "V" ; firmwave version for title bar. signature = "MShift v0.02" ; signature is expected to be 7 or more characters. [Constants] @@ -44,7 +45,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; 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 page = 1 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 775127e07a..0c03845ffc 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -7,7 +7,7 @@ enable2ndByteCanID = false [TunerStudio] 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. [Constants]