rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
sensor_checker.h
Go to the documentation of this file.
1#pragma once
2
3#define TS_ENUM_OFFSET 1
4
5// TODO: this name is now probably wrong, since it checks injectors/ignition too
6struct SensorChecker : public EngineModule {
7public:
8 void onSlowCallback() override;
9 void onIgnitionStateChanged(bool ignitionOn) override;
10
13 }
14
15private:
16 bool m_ignitionIsOn = false;
18
20};
void onSlowCallback() override
bool analogSensorsShouldWork() const
Timer m_timeSinceIgnOff
void onIgnitionStateChanged(bool ignitionOn) override
bool m_analogSensorsShouldWork