diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 3:3cf8af30b36e

v1.51 beta
author heinrichsweikamp
date Thu, 04 Feb 2010 14:56:12 +0100
parents 96a35aeda5f2
children 2b5c52ae3923
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Jan 20 15:17:37 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Thu Feb 04 14:56:12 2010 +0100
@@ -599,6 +599,9 @@
 	bra		divemenu_set_gas2a			; no, choose gas
 	; Yes, so select SP 1-3 or Sensor mode
 	
+	bcf		is_bailout					;=1: CC mode, but bailout active!		
+	call	PLED_show_ppO2_clear; Clear ppO2 value
+	
 divemenu_set_gas1:	
 	movlw	d'35'						; offset in memory
 	addwf	menupos,W					; add SP number 0-2
@@ -641,6 +644,7 @@
 	bra		timeout_divemenu2			; quit menu!
 
 divemenu_set_gas2a:
+	bsf		is_bailout					;=1: CC mode, but bailout active!		
 	clrf	lo							; clear Setpoint, PLED_const_ppO2_value now displayes "Bail"
 	movff	lo,char_I_const_ppO2