auto-sync
This commit is contained in:
parent
6e341bbc62
commit
ed3775e358
|
@ -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) {
|
||||||
|
|
|
@ -42,7 +42,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 Thu Jan 26 22:30:47 EST 2017
|
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Jan 28 17:49:53 EST 2017
|
||||||
|
|
||||||
pageSize = 16376
|
pageSize = 16376
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1829,6 +1829,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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue