parent
93b3759a42
commit
6929e57d48
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue