diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 665:259e4c1bf3c2

grey-out TTS and ceiling after gas change (until new plan is ready)
author heinrichsweikamp
date Wed, 14 Nov 2012 12:39:39 +0100
parents 64194a3c8d5b
children 3282581fe178
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Nov 14 12:02:14 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Nov 14 12:39:39 2012 +0100
@@ -584,6 +584,7 @@
 	movff	EEDATA, char_I_N2_ratio		; = N2!
 	bsf		manual_gas_changed			; set event flag
 	bsf		event_occured				; set global event flag
+    bsf     decoplan_invalid            ; The decoplan needs to updated
     clrf    WREG
     movff   WREG,char_O_deco_status     ; Restart decoplan computation mH
     bsf		is_bailout					;=1: CC mode, but bailout active!		
@@ -700,6 +701,7 @@
 	bcf		display_set_setpoint		; Clear Display Flag
 	bsf		stored_gas_changed			; set event flag
 	bsf		event_occured				; set global event flag
+    bsf     decoplan_invalid            ; The decoplan needs to updated
     clrf    WREG
     movff   WREG,char_O_deco_status     ; Restart decoplan computation mH
 	bra		timeout_divemenu2			; quit menu!
@@ -740,6 +742,7 @@
 	movff	EEDATA, char_I_N2_ratio		; = N2!
 	bsf		stored_gas_changed			; set event flag
 	bsf		event_occured				; set global event flag
+    bsf     decoplan_invalid            ; The decoplan needs to updated
     clrf    WREG
     movff   WREG,char_O_deco_status     ; Restart decoplan computation mH