Lua aux gauge #4672
This commit is contained in:
parent
2dc1ee05f1
commit
50270af024
|
@ -512,8 +512,8 @@ static void updateRawSensors() {
|
||||||
engine->outputChannels.rawWastegatePosition = Sensor::getRaw(SensorType::WastegatePosition);
|
engine->outputChannels.rawWastegatePosition = Sensor::getRaw(SensorType::WastegatePosition);
|
||||||
engine->outputChannels.rawIdlePositionSensor = Sensor::getRaw(SensorType::IdlePosition);
|
engine->outputChannels.rawIdlePositionSensor = Sensor::getRaw(SensorType::IdlePosition);
|
||||||
|
|
||||||
engine->outputChannels.luaGauges[0] = Sensor::get(SensorType::LuaGauge1);
|
engine->outputChannels.luaGauges[0] = Sensor::getOrZero(SensorType::LuaGauge1);
|
||||||
engine->outputChannels.luaGauges[1] = Sensor::get(SensorType::LuaGauge2);
|
engine->outputChannels.luaGauges[1] = Sensor::getOrZero(SensorType::LuaGauge2);
|
||||||
|
|
||||||
for (int i = 0;i<AUX_ANALOG_INPUT_COUNT;i++) {
|
for (int i = 0;i<AUX_ANALOG_INPUT_COUNT;i++) {
|
||||||
adc_channel_e ch = engineConfiguration->auxAnalogInputs[i];
|
adc_channel_e ch = engineConfiguration->auxAnalogInputs[i];
|
||||||
|
|
Loading…
Reference in New Issue