From 1ed7d0579bcc0b5846a1eebf471ec0f6e7286de7 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 1 Oct 2020 00:03:54 -0400 Subject: [PATCH] making error codes available --- firmware/console/binary/tunerstudio_io.h | 6 ------ firmware/integration/rusefi_config.txt | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/console/binary/tunerstudio_io.h b/firmware/console/binary/tunerstudio_io.h index 41c64eb274..63f8d0f74f 100644 --- a/firmware/console/binary/tunerstudio_io.h +++ b/firmware/console/binary/tunerstudio_io.h @@ -17,12 +17,6 @@ #include "pin_repository.h" #endif -#define TS_RESPONSE_UNDERRUN 0x80 -#define TS_RESPONSE_CRC_FAILURE 0x82 -#define TS_RESPONSE_UNRECOGNIZED_COMMAND 0x83 -#define TS_RESPONSE_OUT_OF_RANGE 0x84 -#define TS_RESPONSE_FRAMING_ERROR 0x8D - typedef enum { TS_PLAIN = 0, TS_CRC = 1 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index b8441461de..9ed2b3daca 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1676,6 +1676,12 @@ end_struct #define PROTOCOL_MSG "msg" #define PROTOCOL_HELLO_PREFIX "***" +#define TS_RESPONSE_UNDERRUN 0x80 +#define TS_RESPONSE_CRC_FAILURE 0x82 +#define TS_RESPONSE_UNRECOGNIZED_COMMAND 0x83 +#define TS_RESPONSE_OUT_OF_RANGE 0x84 +#define TS_RESPONSE_FRAMING_ERROR 0x8D + #define MLQ_HEADER_SIZE 22 #define MLQ_FIELD_HEADER_SIZE 55