comparison src/divemode.asm @ 473:c6f36c55b4f6

minor
author heinrichsweikamp
date Tue, 20 Dec 2016 16:04:08 +0100
parents 4fdf6886004b
children ad8acade5567
comparison
equal deleted inserted replaced
472:4fdf6886004b 473:c6f36c55b4f6
1659 movlw color_code_battery_low+1 1659 movlw color_code_battery_low+1
1660 cpfsgt lo ; 1660 cpfsgt lo ;
1661 bsf warning_active ; Set Warning flag 1661 bsf warning_active ; Set Warning flag
1662 1662
1663 movlw .4 1663 movlw .4
1664 cpfseq menupos3 ; ppO2 shown in Custom View 4? 1664 cpfseq menupos3 ; battery shown in Custom View 4?
1665 bra check_warn_battery2 ; No 1665 bra check_warn_battery2 ; No
1666 return ; Yes, do not show twice (in custom view and in warning area) 1666 return ; Yes, do not show twice (in custom view and in warning area)
1667 check_warn_battery2: 1667 check_warn_battery2:
1668 incf warning_counter,F ; increase counter 1668 incf warning_counter,F ; increase counter
1669 call TFT_update_batt_percent_divemode ; Show percent 1669 call TFT_update_batt_percent_divemode ; Show percent