auto-sync

This commit is contained in:
rusEfi 2015-01-28 10:05:19 -06:00
parent e505bdcb06
commit 8eaf54339b
3 changed files with 3 additions and 3 deletions

View File

@ -318,7 +318,7 @@ static TunerStudioReadRequest readRequest;
static short int pageIn;
static bool handlePlainCommand(uint8_t command) {
if (command == TS_HELLO_COMMAND) {
if (command == TS_HELLO_COMMAND || command == TS_HELLO_COMMAND_DEPRECATED) {
scheduleMsg(logger, "Got naked Query command");
handleQueryCommand(TS_PLAIN);
return true;

View File

@ -139,7 +139,7 @@ void tsSendResponse(ts_response_format_e mode, const uint8_t * buffer, int size)
*/
void handleQueryCommand(ts_response_format_e mode) {
tsState.queryCommandCounter++;
tunerStudioDebug("got H (queryCommand)");
tunerStudioDebug("got S/H (queryCommand) mode=%d", mode);
tsSendResponse(mode, (const uint8_t *) TS_SIGNATURE, strlen(TS_SIGNATURE) + 1);
}

View File

@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
return 1; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE == 0)
return 1; // this is here to make the compiler happy about the unused array
return 20150127;
return 20150128;
}