diff code_part1/OSTC_code_asm_part1/divemode.asm @ 505:24e018713ea2

fix bb bug #66: CCR air mode: should not blink for my bailout
author heinrichsweikamp
date Sat, 19 Nov 2011 11:35:08 +0100
parents 4c7f7807b250
children ed51a7a89d9a
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Sat Nov 19 11:24:50 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Sat Nov 19 11:35:08 2011 +0100
@@ -1058,7 +1058,10 @@
 	bsf		better_gas_available	;=1: A better gas is available and a gas change is advised in divemode
 
 check_gas_change6:			;Done
-	call	PLED_active_gas_divemode; Display gas, if required (and with "*" if irequired...)
+	btfsc	FLAG_const_ppO2_mode	; in ppO2 mode?
+	bcf		better_gas_available	; Yes, do not blink better gas
+
+	call	PLED_active_gas_divemode; Display gas, if required (and with "*" if required...)
 	return
 
 ;=============================================================================