#669 renaming error code

This commit is contained in:
rusefi 2019-01-26 13:19:18 -05:00
parent 6b27afcf00
commit afc4f1da51
2 changed files with 2 additions and 2 deletions

View File

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

View File

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