Index: firmware/App/Drivers/Battery.c =================================================================== diff -u -r1e1576d7b9653037829d1d4f834c1077a63fe3fe -r383e37189e8db6a077a0d488dc6cdd5a610b6674 --- firmware/App/Drivers/Battery.c (.../Battery.c) (revision 1e1576d7b9653037829d1d4f834c1077a63fe3fe) +++ firmware/App/Drivers/Battery.c (.../Battery.c) (revision 383e37189e8db6a077a0d488dc6cdd5a610b6674) @@ -56,7 +56,7 @@ // ********** private data ********** static U16 batteryStatus = 0; ///< Battery current status. -static U32 batteryRelStateOfCharge_pct = 0; ///< Battery pack relative state of charge. +static OVERRIDE_U32_T batteryRelStateOfCharge_pct = { 0, 0, 0, 0 }; ///< Battery pack relative state of charge. static OVERRIDE_F32_T batteryRemCapacity_mAh = { 0.0, 0.0, 0.0, 0 }; ///< Battery pack remaining capacity (in mAh). static U16 batteryPackStatus = 0; ///< Battery pack current status. static U32 lastBatteryMonitorTime = 0; ///< Previous battery monitor time.