Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 396:0386c7e1374a
BUGFIX display hypoxic air in divemode (bug #41)
author | JeanDo |
---|---|
date | Thu, 23 Jun 2011 01:41:39 +0200 |
parents | deced1cacff7 |
children | 6f7965ec5f49 ab962c4b19d6 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Thu Jun 23 01:37:59 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Thu Jun 23 01:41:39 2011 +0200 @@ -1104,10 +1104,9 @@ PLED_active_gas_divemode2: tstfsz hi ; He = 0 % bra PLED_active_gas_divemode3 ; display gas - ; O2 below treshold, He=0 -> Skip display! - movlw d'5' - movwf temp1 - bra PLED_display_clear_common_y1 ; also returns! + + call PLED_warnings_color ; O2 below treshold, He=0 : Bad stuff ! + bra PLED_active_gas_divemode4 PLED_active_gas_divemode3: movlw d'21' @@ -1152,6 +1151,7 @@ bcf leftbind call word_processor rcall PLED_active_better_gas ; show *, if required + call PLED_standard_color ; Back to normal (if O2<21 and He=0) return PLED_display_decotype_surface: