| 7 | #include <cmath> |
| 8 | |
| 9 | IgnitionModule::IgnitionModule() { |
| 10 | m_plugs = nullptr; |
| 11 | m_crankshaft = nullptr; |
| 12 | m_timingCurve = nullptr; |
| 13 | m_cylinderCount = 0; |
| 14 | m_lastCrankshaftAngle = 0.0; |
| 15 | m_enabled = false; |
| 16 | m_revLimitTimer = 0.0; |
| 17 | m_revLimit = 0; |
| 18 | m_limiterDuration = 0; |
| 19 | } |
| 20 | |
| 21 | IgnitionModule::~IgnitionModule() { |
| 22 | assert(m_plugs == nullptr); |
nothing calls this directly
no outgoing calls
no test coverage detected