annotate Current build/readme.txt @ 228:f9ba924d188e div-fixes-4-1

Bugfix: set battery percentage correctly after RTE update When the RTE is rebooted, the battery percentage on the display is zeroed. However, when selecting SYS2-reboot-maintenance, the previously known battery percentage can be manually restored. Interestingly, when the restore reported a percentage A, choosing that resulted in a percentage B to be displayed again. With B much smaller than A. So, rebooting the RTE multiple times resulted in an seemingly empty battery, while it definitely is not. The reason for this is a relatively simple bug in the RTE code. This commit fixes the conversion between the internal LTC2941 registers and the percentage value to be displayed. Obviously, from and to the internal registers need to be symmetrical. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Tue, 02 Apr 2019 14:53:15 +0200
parents d5891007fc4c
children dff26bf4b542
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
227
d5891007fc4c add update files for testing purposes
heinrichsweikamp
parents:
diff changeset
1 Heinrichs Weikamp OSTC4 update files.
d5891007fc4c add update files for testing purposes
heinrichsweikamp
parents:
diff changeset
2
d5891007fc4c add update files for testing purposes
heinrichsweikamp
parents:
diff changeset
3 The builds are for testing purposes only. Be careful, they might not work and are definitely not recommended for real dives.