rusefi-full/firmware/controllers/start_stop.cpp

11 lines
288 B
C++
Raw Normal View History

#include "start_stop.h"
#include "engine.h"
EXTERN_ENGINE;
ButtonDebounce startStopButtonDebounce;
void initStartStopButton(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
startStopButtonDebounce.init(CONFIG(startCrankingDuration), &CONFIG(startStopButtonPin), &CONFIG(startStopButtonMode));
}