Starter seems to be engaged forever #1965

This commit is contained in:
rusefillc 2020-11-18 22:56:05 -05:00
parent 2d3ddcde9d
commit acb65fe307
1 changed files with 12 additions and 0 deletions

View File

@ -25,4 +25,16 @@ TEST(start, startStop) {
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
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);
}