CAN bench test: broadcast raw analog values #5437

This commit is contained in:
rusefi 2023-08-21 19:59:51 -04:00
parent dded7f2926
commit 9adc323fec
1 changed files with 8 additions and 8 deletions

View File

@ -56,14 +56,14 @@ void sendEventCounters() {
void sendRawAnalogValues() {
const float values[RAW_ANALOG_VALUES_COUNT] = {
engine->outputChannels.rawTps1Primary,
engine->outputChannels.rawTps1Secondary,
engine->outputChannels.rawPpsPrimary,
engine->outputChannels.rawPpsSecondary,
engine->outputChannels.rawMap,
engine->outputChannels.rawClt,
engine->outputChannels.rawIat,
engine->outputChannels.rawBattery,
Sensor::getRaw(SensorType::Tps1Primary),
Sensor::getRaw(SensorType::Tps1Secondary),
Sensor::getRaw(SensorType::AcceleratorPedalPrimary),
Sensor::getRaw(SensorType::AcceleratorPedalSecondary),
Sensor::getRaw(SensorType::MapSlow),
Sensor::getRaw(SensorType::Iat),
Sensor::getRaw(SensorType::Clt),
Sensor::getRaw(SensorType::BatteryVoltage),
};
// send the first packet