#669 renaming error code
This commit is contained in:
parent
ad420c462c
commit
7fcbe43e71
|
@ -1845,7 +1845,7 @@ typedef enum {
|
|||
ERROR_FL_STACK_OVERFLOW = 6502,
|
||||
CUSTOM_ERR_FSIO_POOL = 6503,
|
||||
CUSTOM_FLSTACK = 6504,
|
||||
CUSTOM_ERR_START_STACK = 6505,
|
||||
CUSTOM_ERR_NAN_TCHARGE = 6505,
|
||||
CUSTOM_EGO_TYPE = 6506,
|
||||
CUSTOM_LIST_LOOP = 6507,
|
||||
CUSTOM_ERR_LOCK_ISSUE = 6508,
|
||||
|
|
|
@ -30,7 +30,7 @@ baroCorr_Map3D_t baroCorrMap("baro");
|
|||
// http://rusefi.com/math/t_charge.html
|
||||
float getTCharge(int rpm, float tps, float coolantTemp, float airTemp DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||
if (cisnan(coolantTemp) || cisnan(airTemp)) {
|
||||
warning(CUSTOM_ERR_START_STACK, "t-getTCharge NaN");
|
||||
warning(CUSTOM_ERR_NAN_TCHARGE, "t-getTCharge NaN");
|
||||
return coolantTemp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue