diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index f10a73a031..83b3350be0 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -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: diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 2feee1089b..29e07692d8 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -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' diff --git a/java_console/models/src/com/rusefi/config/generated/Fields.java b/java_console/models/src/com/rusefi/config/generated/Fields.java index 3b8f6379f0..f5d058e87d 100644 --- a/java_console/models/src/com/rusefi/config/generated/Fields.java +++ b/java_console/models/src/com/rusefi/config/generated/Fields.java @@ -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;