diff --git a/firmware/controllers/algo/rusefi_types.h b/firmware/controllers/algo/rusefi_types.h index 7a1e7ac809..b8e163f3ca 100644 --- a/firmware/controllers/algo/rusefi_types.h +++ b/firmware/controllers/algo/rusefi_types.h @@ -107,7 +107,6 @@ typedef void (*Void)(void); using lua_script_t = char[LUA_SCRIPT_SIZE]; -using error_message_t = char[ERROR_BUFFER_SIZE]; using warning_message_t = char[WARNING_BUFFER_SIZE]; using vehicle_info_t = char[VEHICLE_INFO_SIZE]; diff --git a/firmware/controllers/core/error_handling.h b/firmware/controllers/core/error_handling.h index af8b1438b1..9306fb2416 100644 --- a/firmware/controllers/core/error_handling.h +++ b/firmware/controllers/core/error_handling.h @@ -24,7 +24,7 @@ extern "C" */ bool warning(obd_code_e code, const char *fmt, ...); -using critical_msg_t = char[ERROR_BUFFER_SIZE]; +using critical_msg_t = char[CRITICAL_BUFFER_SIZE]; /** * Something really bad had happened - firmware cannot function, we cannot run the engine diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 075be948d9..31d019ca59 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -911,8 +911,6 @@ custom maf_sensor_type_e 1 bits, S08, @OFFSET@, [0:1], @@maf_sensor_type_e_enum@ #define CAN_RX_PREFIX "CAN_rx" #define CRITICAL_PREFIX "CRITICAL" -! same length used for critical and soft error messages -#define ERROR_BUFFER_SIZE 120 #define WARNING_BUFFER_SIZE 120 #define CRITICAL_BUFFER_SIZE 120