diff 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
line wrap: on
line diff
--- a/src/hwos.inc	Tue Dec 20 16:04:08 2016 +0100
+++ b/src/hwos.inc	Wed Jan 04 15:04:42 2017 +0100
@@ -562,6 +562,9 @@
 battery_capacity		res 2	; For battery gauge IC
 battery_offset			res 2	; For battery gauge IC
 
+analog_sw1_raw		res 2	; idle values (average)
+analog_sw2_raw		res 2	; idle values (average)
+analog_counter		res 1	; for averaging
 analog_sw1		res 1	; analog value for switch 1
 analog_sw2		res 1	; analog value for switch 2
 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