From 34bef1b3d2e48e662cbeecc8a5d2da59b6613657 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 11 Aug 2022 10:54:54 -0400 Subject: [PATCH] https://github.com/rusefi/alphax-4chan/issues/57 --- firmware/CHANGELOG.md | 1 + firmware/console/status_loop.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/firmware/CHANGELOG.md b/firmware/CHANGELOG.md index 1bc6b1d66c..47c7205826 100644 --- a/firmware/CHANGELOG.md +++ b/firmware/CHANGELOG.md @@ -34,6 +34,7 @@ Release template (copy/paste this for new release): - Password protection against tune access #4243 - Additional CAN messages #4401 - Option to invert VVT control (exhaust cams, etc) #4424 + - Raw Battery gauge ### Fixed - Lua CAN reception fixed for 11-bit IDs where the frame would be received, but a corrupt ID was passed to the handler function. #4321 diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index 6d8618cc32..a0721c79d0 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -559,6 +559,7 @@ static void updateRawSensors() { engine->outputChannels.rawTps2Secondary = Sensor::getRaw(SensorType::Tps2Secondary); engine->outputChannels.rawPpsPrimary = Sensor::getRaw(SensorType::AcceleratorPedalPrimary); engine->outputChannels.rawPpsSecondary = Sensor::getRaw(SensorType::AcceleratorPedalSecondary); + engine->outputChannels.rawBattery = Sensor::getRaw(SensorType::BatteryVoltage); engine->outputChannels.rawClt = Sensor::getRaw(SensorType::Clt); engine->outputChannels.rawIat = Sensor::getRaw(SensorType::Iat); engine->outputChannels.rawOilPressure = Sensor::getRaw(SensorType::OilPressure);