mirror of https://github.com/FOME-Tech/fome-fw.git
better error handling
This commit is contained in:
parent
e600229626
commit
3df4f99a3e
|
@ -1051,10 +1051,11 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
|
||||||
}
|
}
|
||||||
applyNonPersistentConfiguration(logger PASS_ENGINE_PARAMETER);
|
applyNonPersistentConfiguration(logger PASS_ENGINE_PARAMETER);
|
||||||
// todo: eliminate triggerShape.operationMode?
|
// todo: eliminate triggerShape.operationMode?
|
||||||
if (engineConfiguration->operationMode != TRIGGER_SHAPE(getOperationMode()))
|
if (engineConfiguration->operationMode != TRIGGER_SHAPE(getOperationMode())) {
|
||||||
firmwareError(CUSTOM_ERR_OP_MODE, "operationMode %d/trigger mismatch %d",
|
warning(CUSTOM_ERR_OP_MODE, "operationMode %d/trigger mismatch %d",
|
||||||
engineConfiguration->operationMode,
|
engineConfiguration->operationMode,
|
||||||
TRIGGER_SHAPE(getOperationMode()));
|
TRIGGER_SHAPE(getOperationMode()));
|
||||||
|
}
|
||||||
|
|
||||||
#if EFI_TUNER_STUDIO
|
#if EFI_TUNER_STUDIO
|
||||||
syncTunerStudioCopy();
|
syncTunerStudioCopy();
|
||||||
|
|
Loading…
Reference in New Issue