auto-sync

This commit is contained in:
rusEfi 2017-01-28 18:03:41 -05:00
parent a732c830a3
commit 42182b63b8
2 changed files with 9 additions and 1 deletions

View File

@ -432,7 +432,8 @@ static bool isKnownCommand(char command) {
|| command == TS_LEGACY_HELLO_COMMAND || command == TS_CHUNK_WRITE_COMMAND || command == TS_EXECUTE || command == TS_LEGACY_HELLO_COMMAND || command == TS_CHUNK_WRITE_COMMAND || command == TS_EXECUTE
|| command == TS_IO_TEST_COMMAND || command == TS_IO_TEST_COMMAND
|| command == TS_GET_FILE_RANGE || command == TS_GET_FILE_RANGE
|| command == TS_GET_TEXT || command == TS_CRC_CHECK_COMMAND; || command == TS_GET_TEXT || command == TS_CRC_CHECK_COMMAND
|| command == TS_GET_FIRMWARE_VERSION;
} }
static uint8_t firstByte; static uint8_t firstByte;
@ -614,6 +615,10 @@ void handleTestCommand(ts_channel_s *tsChannel) {
extern CommandHandler console_line_callback; extern CommandHandler console_line_callback;
static void handleGetVersion(ts_channel_s *tsChannel) {
}
static void handleGetText(ts_channel_s *tsChannel) { static void handleGetText(ts_channel_s *tsChannel) {
int outputSize; int outputSize;
char *output = swapOutputBuffers(&outputSize); char *output = swapOutputBuffers(&outputSize);
@ -721,6 +726,8 @@ int tunerStudioHandleCrcCommand(ts_channel_s *tsChannel, char *data, int incomin
if (command == TS_HELLO_COMMAND || command == TS_HELLO_COMMAND_DEPRECATED) { if (command == TS_HELLO_COMMAND || command == TS_HELLO_COMMAND_DEPRECATED) {
tunerStudioDebug("got Query command"); tunerStudioDebug("got Query command");
handleQueryCommand(tsChannel, TS_CRC); handleQueryCommand(tsChannel, TS_CRC);
} else if (command == TS_GET_FIRMWARE_VERSION) {
handleGetVersion(tsChannel);
} else if (command == TS_GET_TEXT) { } else if (command == TS_GET_TEXT) {
handleGetText(tsChannel); handleGetText(tsChannel);
} else if (command == TS_EXECUTE) { } else if (command == TS_EXECUTE) {

View File

@ -1764,6 +1764,7 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
field = "Threshold", knockVThreshold field = "Threshold", knockVThreshold
field = "!ECU reboot needed to apply these settings" field = "!ECU reboot needed to apply these settings"
field = "IntHold pin (hip9011 input)", hip9011IntHoldPin field = "IntHold pin (hip9011 input)", hip9011IntHoldPin
field = "IntHold pin (hip9011 input) mode", hip9011IntHoldPinMode
field = "ChipSelect pin", hip9011CsPin field = "ChipSelect pin", hip9011CsPin
field = "ChipSelect mode", hip9011CsPinMode field = "ChipSelect mode", hip9011CsPinMode
field = "hip Output/stm input", hipOutputChannel field = "hip Output/stm input", hipOutputChannel