comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 406:2534277be060

Bug #52 fixed (ppO2 blinking if setpoint is not physically possible)
author heinrichsweikamp
date Wed, 06 Jul 2011 22:06:40 +0200
parents cd48cdb6e1ae
children 47b1135cbff3
comparison
equal deleted inserted replaced
405:dd780d7b352b 406:2534277be060
118 call PLED_divemins ; Display (new) divetime! 118 call PLED_divemins ; Display (new) divetime!
119 119
120 diveloop_loop1z 120 diveloop_loop1z
121 bcf update_divetime ; clear flag 121 bcf update_divetime ; clear flag
122 122
123 btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode 123 ; btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode
124 call PLED_const_ppO2_value ; display const ppO2 setting in [bar] 124 ; call PLED_const_ppO2_value ; display const ppO2 setting in [bar]
125 btfsc ppO2_show_value ; show ppO2? 125 btfsc ppO2_show_value ; show ppO2?
126 call check_ppO2 ; check ppO2 and displays warning if required 126 call check_ppO2 ; check ppO2 and displays warning if required
127 127
128 call timeout_divemode ; dive finished? This routine sets the required flags 128 call timeout_divemode ; dive finished? This routine sets the required flags
129 btfsc low_battery_state ; If battery is low, then... 129 btfsc low_battery_state ; If battery is low, then...