Starter seems to be engaged forever #1965
This commit is contained in:
parent
88a0b56cba
commit
7f688f7616
|
@ -219,9 +219,9 @@ static void resetAccel(void) {
|
|||
static void doPeriodicSlowCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
#if EFI_ENGINE_CONTROL && EFI_SHAFT_POSITION_INPUT
|
||||
efiAssertVoid(CUSTOM_ERR_6661, getCurrentRemainingStack() > 64, "lowStckOnEv");
|
||||
#if EFI_PROD_CODE
|
||||
|
||||
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
|
||||
efitick_t nowNt = getTimeNowNt();
|
||||
|
||||
|
|
|
@ -11,5 +11,9 @@
|
|||
TEST(start, startStop) {
|
||||
WITH_ENGINE_TEST_HELPER(BMW_M73_PROTEUS);
|
||||
// this is a pull-up, so 'true' on start-up
|
||||
setMockState(engineConfiguration->starterControlPin, true PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
setMockState(engineConfiguration->startStopButtonPin, true PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
ASSERT_EQ(efiReadPin(engineConfiguration->starterControlPin), 0);
|
||||
|
||||
slowStartStopButtonCallback(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue