diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 112:9500f431248a

1.74beta rc2
author heinrichsweikamp
date Wed, 22 Dec 2010 10:32:06 +0100
parents ed7826c740a0
children 50a06adabc67
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Dec 22 09:37:24 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Dec 22 10:32:06 2010 +0100
@@ -23,8 +23,7 @@
 ; ToDo:
 
 
-test_switches_divemode:
-									; checks switches in divemode
+test_switches_divemode:				; checks switches in divemode
 	btfsc	switch_left
 	bra		test_switches_divemode2
 
@@ -61,9 +60,11 @@
 	btfsc	menubit
 	bra		test_switches_divemode2_2	; Not in Premenu or Menu...
 
-	bsf		toggle_customview	; Toggle customview (Cleared in customview.asm)
-	btfsc	standalone_simulator	; Standalone Simualtor active?
-	bra		divemode_menu_simulator	; Yes, Show simulator menu!
+	bsf		toggle_customview			; Toggle customview (Cleared in customview.asm)
+
+	btfsc	standalone_simulator		; Standalone Simualtor active?
+	bra		divemode_menu_simulator		; Yes, Show simulator menu!
+	return
 
 test_switches_divemode2_2:
 	btfss	FLAG_apnoe_mode		; In Apnoe mode?