Mercurial > public > hwos_code
diff src/hwos.inc @ 466:7f4c3b2e6bb7
battery gauge handling
author | heinrichsweikamp |
---|---|
date | Sat, 19 Nov 2016 18:37:47 +0100 |
parents | 0491a84fd0b8 |
children | 4fdf6886004b |
line wrap: on
line diff
--- a/src/hwos.inc Fri Nov 18 10:49:32 2016 +0100 +++ b/src/hwos.inc Sat Nov 19 18:37:47 2016 +0100 @@ -564,6 +564,8 @@ battery_type res 1 ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah uptime res 4 ; Uptime [s] lastdive_time res 4 ; Time since last dive [s] +battery_acumulated_charge res 2 ; Raw values in battery gauge IC +gauge_status_byte res 1 ; Gauge IC status byte ;----------------------------------------------------------------------------- ; Reserve BANK2 for general purpose buffer (strings, images, etc).