This commit is contained in:
rusefi 2017-05-07 08:20:23 -04:00
parent cb79f427d9
commit cbf03e0add
2 changed files with 4 additions and 2 deletions

View File

@ -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) {

View File

@ -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]