rusEFI
The most advanced open source ECU
ignition_controller.h
Go to the documentation of this file.
1 // file ignition_controller.h
2 
3 #pragma once
4 
5 #include "engine_module.h"
6 
7 #include <rusefi/timer.h>
8 
10 public:
11  void onSlowCallback() override;
12 
13 private:
15  bool m_lastState = false;
16 };
17 
18 // USB power or vehicle power?
19 bool isIgnVoltage();
void onSlowCallback() override
bool isIgnVoltage()