diff src/start.asm @ 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/start.asm	Tue Dec 20 16:04:08 2016 +0100
+++ b/src/start.asm	Wed Jan 04 15:04:42 2017 +0100
@@ -53,6 +53,8 @@
     call    init_ostc
 
     ; Get button type from Bootloader-Info
+        movlw   .16
+	movff   WREG,analog_counter	; init averaging
 	bsf	analog_switches
 	movlw   0x7C
 	movwf   TBLPTRL