comparison Discovery/Src/ostc.c @ 433:aa286a4926c2 Improve_BatteryGasGauge

Detect startup after power off: Introduced a variable in memory area which is not initialized during startup. In case of a start from power off the memory cell will be initialized (persistant as long as RTE is powered) and charge counter is set to 0 signaling the user to do a complete charge to calibrate the counter.
author ideenmodellierer
date Sun, 23 Feb 2020 21:09:56 +0100
parents 37ee61f93124
children bc6c90e20d9e
comparison
equal deleted inserted replaced
432:2b4440f75434 433:aa286a4926c2