aux linear fixes (#4069)
This commit is contained in:
parent
f0a055345e
commit
a7673066c3
|
@ -578,6 +578,9 @@ static void updatePressures() {
|
|||
engine->outputChannels.baroPressure = Sensor::getOrZero(SensorType::BarometricPressure);
|
||||
engine->outputChannels.MAPValue = Sensor::getOrZero(SensorType::Map);
|
||||
engine->outputChannels.oilPressure = Sensor::get(SensorType::OilPressure).Value;
|
||||
|
||||
engine->outputChannels.auxLinear1 = Sensor::get(SensorType::AuxLinear1).Value;
|
||||
engine->outputChannels.auxLinear2 = Sensor::get(SensorType::AuxLinear2).Value;
|
||||
}
|
||||
|
||||
static void updateMiscSensors() {
|
||||
|
|
|
@ -71,4 +71,6 @@ void deinitOilPressure() {
|
|||
AdcSubscription::UnsubscribeSensor(oilpSensor);
|
||||
AdcSubscription::UnsubscribeSensor(fuelPressureSensorLow);
|
||||
AdcSubscription::UnsubscribeSensor(fuelPressureSensorHigh);
|
||||
AdcSubscription::UnsubscribeSensor(auxLinear1Sensor);
|
||||
AdcSubscription::UnsubscribeSensor(auxLinear2Sensor);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue