typo & error code name

This commit is contained in:
rusefi 2017-05-24 23:42:27 -04:00
parent 8fe9ab120e
commit 7c50cc8734
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ floatms_t getInjectionDuration(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX) {
}
floatms_t injectorLag = ENGINE(engineState.injectorLag);
if (cisnan(injectorLag)) {
warning(CUSTOM_ERR_6539, "injectorLah not ready");
warning(CUSTOM_ERR_INJECTOR_LAG, "injectorLag not ready");
return 0; // we can end up here during configuration reset
}
return theoreticalInjectionLength + injectorLag;

View File

@ -1895,7 +1895,7 @@ typedef enum {
CUSTOM_ERR_6536 = 6536,
CUSTOM_ERR_6537 = 6537,
CUSTOM_ERR_6538 = 6538,
CUSTOM_ERR_6539 = 6539,
CUSTOM_ERR_INJECTOR_LAG = 6539,
CUSTOM_ERR_6540 = 6540,
CUSTOM_ERR_6541 = 6541,