extracting protocol constants
This commit is contained in:
parent
0496ca941d
commit
bd9a601ce6
|
@ -1274,6 +1274,8 @@
|
|||
#define TS_BURN_COMMAND 'B'
|
||||
#define TS_CHUNK_WRITE_COMMAND 'C'
|
||||
#define TS_COMMAND_F 'F'
|
||||
#define TS_COMPOSITE_DISABLE 2
|
||||
#define TS_COMPOSITE_ENABLE 1
|
||||
#define TS_CRC_CHECK_COMMAND 'k'
|
||||
#define TS_EXECUTE 'E'
|
||||
#define TS_FILE_VERSION 20200310
|
||||
|
|
|
@ -827,10 +827,10 @@ int tunerStudioHandleCrcCommand(ts_channel_s *tsChannel, char *data, int incomin
|
|||
#if EFI_TOOTH_LOGGER
|
||||
case TS_SET_LOGGER_SWITCH:
|
||||
switch(data[0]) {
|
||||
case 0x01:
|
||||
case TS_COMPOSITE_ENABLE:
|
||||
EnableToothLogger();
|
||||
break;
|
||||
case 0x02:
|
||||
case TS_COMPOSITE_DISABLE:
|
||||
DisableToothLogger();
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -1274,6 +1274,8 @@
|
|||
#define TS_BURN_COMMAND 'B'
|
||||
#define TS_CHUNK_WRITE_COMMAND 'C'
|
||||
#define TS_COMMAND_F 'F'
|
||||
#define TS_COMPOSITE_DISABLE 2
|
||||
#define TS_COMPOSITE_ENABLE 1
|
||||
#define TS_CRC_CHECK_COMMAND 'k'
|
||||
#define TS_EXECUTE 'E'
|
||||
#define TS_FILE_VERSION 20200310
|
||||
|
|
|
@ -1578,6 +1578,9 @@ end_struct
|
|||
#define TS_GET_STRUCT '9'
|
||||
#define TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY '8'
|
||||
|
||||
#define TS_COMPOSITE_ENABLE 1
|
||||
#define TS_COMPOSITE_DISABLE 2
|
||||
|
||||
// Performance tracing
|
||||
#define TS_PERF_TRACE_BEGIN 'r'
|
||||
#define TS_PERF_TRACE_GET_BUFFER 'b'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package com.rusefi.config.generated;
|
||||
|
||||
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Fri May 29 20:38:41 EDT 2020
|
||||
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sat May 30 12:18:04 EDT 2020
|
||||
|
||||
// by class com.rusefi.output.FileJavaFieldsConsumer
|
||||
import com.rusefi.config.*;
|
||||
|
@ -1255,6 +1255,8 @@ public class Fields {
|
|||
public static final char TS_BURN_COMMAND = 'B';
|
||||
public static final char TS_CHUNK_WRITE_COMMAND = 'C';
|
||||
public static final char TS_COMMAND_F = 'F';
|
||||
public static final int TS_COMPOSITE_DISABLE = 2;
|
||||
public static final int TS_COMPOSITE_ENABLE = 1;
|
||||
public static final char TS_CRC_CHECK_COMMAND = 'k';
|
||||
public static final char TS_EXECUTE = 'E';
|
||||
public static final int TS_FILE_VERSION = 20200310;
|
||||
|
|
Loading…
Reference in New Issue