diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 286:5351d47ee28a

Active gas flags simplified
author heinrichsweikamp
date Wed, 20 Apr 2011 07:51:11 +0200
parents f8f865c70a0d
children 4dbff2aa31ee
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Apr 20 06:54:33 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Apr 20 07:51:11 2011 +0200
@@ -705,6 +705,7 @@
 	bcf		display_set_setpoint
 	bcf		display_set_simulator
 	bcf		display_set_active
+	bcf		menu3_active
 	bcf		switch_left				; and debounce switches
 	bcf		switch_right
 	return
@@ -719,6 +720,7 @@
 
 timeout_divemenu6:
 	; Update Simulator Mask
+	bsf		menu3_active				; So "+1" is accessible at all times
 	call	PLED_divemode_simulator_mask; Show mask
 	call	PLED_divemenu_cursor		; update cursor
 	bra		timeout_divemenu1			; Check timeout