Can we handle auto-calibrate ETB TPS does not work due to weak power supply better? #5184

decoupling warning and critical
This commit is contained in:
rusefi 2023-03-16 16:18:28 -04:00
parent 60ee82a2c1
commit 1723931b11
3 changed files with 1 additions and 4 deletions

View File

@ -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];

View File

@ -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

View File

@ -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