# HG changeset patch
# User heinrichsweikamp
# Date 1321698908 -3600
# Node ID 24e018713ea22c9ae7bd814497ce7c3c82a3a7d6
# Parent  a97218ac605dbdcbe34a8c4f5ecc979b3c023fdd
fix bb bug #66: CCR air mode: should not blink for my bailout

diff -r a97218ac605d -r 24e018713ea2 code_part1/OSTC_code_asm_part1/divemode.asm
--- 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
 
 ;=============================================================================