Trigger: Question: something strange trigger errors #662
second attempt for CUSTOM_ERR_6696 implementation
This commit is contained in:
parent
756ad521aa
commit
7ad94ccdc1
|
@ -108,7 +108,10 @@ void Engine::periodicSlowCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
checkShutdown();
|
||||
|
||||
#if EFI_FSIO || defined(__DOXYGEN__)
|
||||
// todo: enable this for unit tests
|
||||
#if ! EFI_UNIT_TEST
|
||||
runFsio(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
#endif
|
||||
#endif /* EFI_PROD_CODE && EFI_FSIO */
|
||||
|
||||
cylinderCleanupControl(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
|
|
@ -121,7 +121,7 @@ void EngineState::updateSlowSensors(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
|
||||
void EngineState::periodicFastCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
if (!engine->slowCallBackWasInvoked) {
|
||||
// warning(CUSTOM_ERR_6696, "Slow not invoked yet");
|
||||
warning(CUSTOM_ERR_6696, "Slow not invoked yet");
|
||||
}
|
||||
efitick_t nowNt = getTimeNowNt();
|
||||
if (ENGINE(rpmCalculator).isCranking(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||
|
|
|
@ -67,7 +67,8 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType) : engine (&persiste
|
|||
testIatValue = 4.03646;
|
||||
|
||||
// this is needed to have valid CLT and IAT.
|
||||
engine->updateSlowSensors(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
//todo: reuse initPeriodicEvents(PASS_ENGINE_PARAMETER_SIGNATURE) method
|
||||
engine->periodicSlowCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
engine->initializeTriggerShape(NULL PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
engine->triggerCentral.addEventListener(rpmShaftPositionCallback, "rpm reporter", engine);
|
||||
|
|
Loading…
Reference in New Issue