auto-sync
This commit is contained in:
parent
f6945cec0f
commit
350d1c6ee4
|
@ -307,7 +307,7 @@ void updateDevConsoleState(void) {
|
|||
static void showFuelMap2(float rpm, float engineLoad) {
|
||||
float baseFuel = getBaseTableFuel((int) rpm, engineLoad);
|
||||
|
||||
scheduleMsg(&logger2, "algo=%d", engineConfiguration->algorithm);
|
||||
scheduleMsg(&logger2, "algo=%s", algorithmToString(engineConfiguration->algorithm));
|
||||
float iatCorrection = getIatCorrection(getIntakeAirTemperature());
|
||||
float cltCorrection = getCltCorrection(getCoolantTemperature());
|
||||
float injectorLag = getInjectorLag(getVBatt());
|
||||
|
|
|
@ -82,3 +82,18 @@ const char * pinModeToString(pin_output_mode_e mode) {
|
|||
return "unexpected";
|
||||
}
|
||||
}
|
||||
|
||||
const char * algorithmToString(engine_load_mode_e mode) {
|
||||
switch(mode) {
|
||||
case LM_TPS:
|
||||
return "Alpha-N";
|
||||
case LM_MAF:
|
||||
return "Maf";
|
||||
case LM_MAP:
|
||||
return "pMap";
|
||||
case LM_SPEED_DENSITY:
|
||||
return "SD";
|
||||
default:
|
||||
return "unexpected";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
|
||||
const char* getConfigurationName(engine_type_e engineType);
|
||||
const char * pinModeToString(pin_output_mode_e mode);
|
||||
const char * algorithmToString(engine_load_mode_e mode);
|
||||
|
||||
#endif /* ENUM_STRINGS_H_ */
|
||||
|
|
|
@ -229,5 +229,5 @@ void firmwareError(const char *fmt, ...) {
|
|||
}
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
return 20140903;
|
||||
return 20140904;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue