comparison src/hwos.inc @ 474:2880aa1264f5

Fix new battery menu on Power-on reset
author heinrichsweikamp
date Wed, 04 Jan 2017 15:04:42 +0100
parents 4fdf6886004b
children 237afdfb4918
comparison
equal deleted inserted replaced
473:c6f36c55b4f6 474:2880aa1264f5
560 560
561 internal_battery_capacity res 2 ; For internal battery gauging 561 internal_battery_capacity res 2 ; For internal battery gauging
562 battery_capacity res 2 ; For battery gauge IC 562 battery_capacity res 2 ; For battery gauge IC
563 battery_offset res 2 ; For battery gauge IC 563 battery_offset res 2 ; For battery gauge IC
564 564
565 analog_sw1_raw res 2 ; idle values (average)
566 analog_sw2_raw res 2 ; idle values (average)
567 analog_counter res 1 ; for averaging
565 analog_sw1 res 1 ; analog value for switch 1 568 analog_sw1 res 1 ; analog value for switch 1
566 analog_sw2 res 1 ; analog value for switch 2 569 analog_sw2 res 1 ; analog value for switch 2
567 battery_type res 1 ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah, =4: LiIon 3,7V/2.3Ah 570 battery_type res 1 ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah, =4: LiIon 3,7V/2.3Ah
568 uptime res 4 ; Uptime [s] 571 uptime res 4 ; Uptime [s]
569 lastdive_time res 4 ; Time since last dive [s] 572 lastdive_time res 4 ; Time since last dive [s]