actual startRequestPinInverted usage

only: proteus_f7
This commit is contained in:
rusefi 2024-04-12 00:29:35 -04:00
parent 93b3759a42
commit 6929e57d48
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@ ButtonDebounce startStopButtonDebounce("start_button");
void initStartStopButton() {
/* startCrankingDuration is efitimesec_t, so we need to multiply it by 1000 to get milliseconds*/
startStopButtonDebounce.init((engineConfiguration->startCrankingDuration*1000), engineConfiguration->startStopButtonPin, engineConfiguration->startStopButtonMode);
startStopButtonDebounce.init((engineConfiguration->startCrankingDuration*1000),
engineConfiguration->startStopButtonPin,
engineConfiguration->startStopButtonMode,
engineConfiguration->startRequestPinInverted);
}
static void onStartStopButtonToggle() {