This commit is contained in:
Matthew Kennedy 2020-07-29 02:29:55 -07:00
parent e3472b4227
commit bbe7ac43db
4 changed files with 5 additions and 7 deletions

View File

@ -191,8 +191,6 @@ if (engineConfiguration->debugMode == DBG_DWELL_METRIC) {
{
event->sparksRemaining--;
efitick_t nowNt = getTimeNowNt();
efitick_t nextDwellStart = nowNt + engine->engineState.multispark.delay;
efitick_t nextFiring = nextDwellStart + engine->engineState.multispark.dwell;

View File

@ -20,7 +20,7 @@ public:
private:
// Steinhart-Hart coefficients
float m_a;
float m_b;
float m_c;
float m_a = 0;
float m_b = 0;
float m_c = 0;
};

View File

@ -24,7 +24,7 @@ public:
void showInfo(Logging* logger, const char* sensorName) const override;
private:
SensorResult get() const {
SensorResult get() const override {
return Sensor::get(m_proxiedSensor);
}

View File

@ -51,7 +51,7 @@ bool Sensor::Register() {
return false;
} else {
// put ourselves in the registry
s_sensorRegistry[getIndex()].sensor = this;
entry.sensor = this;
return true;
}
}