mirror of https://github.com/FOME-Tech/fome-fw.git
Starter seems to be engaged forever #1965
This commit is contained in:
parent
2d3ddcde9d
commit
acb65fe307
|
@ -25,4 +25,16 @@ TEST(start, startStop) {
|
||||||
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
ASSERT_EQ(efiReadPin(engineConfiguration->starterControlPin), true);
|
ASSERT_EQ(efiReadPin(engineConfiguration->starterControlPin), true);
|
||||||
|
|
||||||
|
eth.smartMoveTimeForwardSeconds(5);
|
||||||
|
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
eth.smartMoveTimeForwardSeconds(5);
|
||||||
|
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
eth.smartMoveTimeForwardSeconds(5);
|
||||||
|
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
// todo: FIX THIS, starter wire should go off on timeout!
|
||||||
|
ASSERT_EQ(efiReadPin(engineConfiguration->starterControlPin), true);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue