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