# HG changeset patch # User JeanDo # Date 1308786099 -7200 # Node ID 0386c7e1374a9271be3d764027a3a71888e0b522 # Parent 0e0cf4701c17c5d64c67736ffe6467a629be38c8 BUGFIX display hypoxic air in divemode (bug #41) diff -r 0e0cf4701c17 -r 0386c7e1374a code_part1/OSTC_code_asm_part1/pled_outputs.asm --- 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: diff -r 0e0cf4701c17 -r 0386c7e1374a code_part1/OSTC_code_c_part2/p2_deco.o Binary file code_part1/OSTC_code_c_part2/p2_deco.o has changed