comparison 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
comparison
equal deleted inserted replaced
473:c6f36c55b4f6 474:2880aa1264f5
51 bra clear_rambank ; clear... 51 bra clear_rambank ; clear...
52 52
53 call init_ostc 53 call init_ostc
54 54
55 ; Get button type from Bootloader-Info 55 ; Get button type from Bootloader-Info
56 movlw .16
57 movff WREG,analog_counter ; init averaging
56 bsf analog_switches 58 bsf analog_switches
57 movlw 0x7C 59 movlw 0x7C
58 movwf TBLPTRL 60 movwf TBLPTRL
59 movlw 0xF7 61 movlw 0xF7
60 movwf TBLPTRH 62 movwf TBLPTRH