rusefi/firmware/controllers/start_stop.h

16 lines
267 B
C

// file start_stop.h
#pragma once
struct StartStopState {
ButtonDebounce startStopButtonDebounce{"start_button"};
Timer timeSinceIgnitionPower;
Timer startStopStateLastPush;
bool isFirstTime = true;
};
void doStartCranking();
void initStartStopButton();