changeset 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 a97218ac605d
children ab819be6193f
files code_part1/OSTC_code_asm_part1/divemode.asm
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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
 
 ;=============================================================================