progress & fixinig unit tests

This commit is contained in:
rusefi 2019-06-01 09:11:01 -04:00
parent 0a2e837bed
commit 3327cf8b4e
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,9 @@ git submodule update --init
rm -fR .dep
rm -fR build
call update_version.bat
IF NOT ERRORLEVEL echo ERROR INVOKING VERSION HEADER GENERATOR
IF NOT ERRORLEVEL 0 EXIT /B 1
make -j4
if not exist build/rusefi.hex echo FAILED TO COMPILE FIRMWARE

View File

@ -37,8 +37,10 @@ float getEngineValue(le_action_e action DECLARE_ENGINE_PARAMETER_SUFFIX) {
return 0;
case LE_METHOD_VBATT:
return 12;
case LE_METHOD_IS_COOLANT_BROKEN:
return 0;
default:
firmwareError(OBD_PCM_Processor_Fault, "No mock value for %d", action);
firmwareError(OBD_PCM_Processor_Fault, "FSIO: No mock value for %d", action);
return NAN;
}
}