Mercurial > public > hwos_code
comparison src/start.asm @ 472:4fdf6886004b
CHANGE: Show warnings either in Customview (If active) _or_ next to warning sign
NEW: Show battery type in information menu (T0:1.5V AA, T1:3.6V AA, T2:3.6V/0.8A LiIon, T3:Internal 18650, T4:Internal 16650)
author | heinrichsweikamp |
---|---|
date | Sun, 18 Dec 2016 18:20:39 +0100 |
parents | 0491a84fd0b8 |
children | 2880aa1264f5 |
comparison
equal
deleted
inserted
replaced
471:9edb1359ce43 | 472:4fdf6886004b |
---|---|
146 ; "new_battery_menu" and "use_old_batteries" 'goto' back to "power_on_return" | 146 ; "new_battery_menu" and "use_old_batteries" 'goto' back to "power_on_return" |
147 ; ***************************************************************************** | 147 ; ***************************************************************************** |
148 | 148 |
149 ; Try to migrate the old battery status from firmware 2.09 or earlier.. | 149 ; Try to migrate the old battery status from firmware 2.09 or earlier.. |
150 btfsc RCON,POR ; Was this a power-on reset? | 150 btfsc RCON,POR ; Was this a power-on reset? |
151 call use_old_prior_209 | 151 call use_old_prior_209 ; No |
152 | 152 |
153 bcf use_old_batt_flag | 153 bcf use_old_batt_flag |
154 btfsc RCON,POR ; Was this a power-on reset? | 154 btfsc RCON,POR ; Was this a power-on reset? |
155 bsf use_old_batt_flag ; No | 155 bsf use_old_batt_flag ; No |
156 | 156 |