15 lines
222 B
C
15 lines
222 B
C
|
#pragma once
|
||
|
|
||
|
#include "engine_module.h"
|
||
|
|
||
|
#include "timer.h"
|
||
|
|
||
|
class IgnitionController : public EngineModule {
|
||
|
public:
|
||
|
void onSlowCallback() override;
|
||
|
|
||
|
private:
|
||
|
Timer m_timeSinceIgnVoltage;
|
||
|
bool m_lastState = false;
|
||
|
};
|