changeset 112:9500f431248a

1.74beta rc2
author heinrichsweikamp
date Wed, 22 Dec 2010 10:32:06 +0100
parents ed7826c740a0
children deb004054279
files code_part1/OSTC_code_asm_part1/customview.asm code_part1/OSTC_code_asm_part1/divemode_menu.asm
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/customview.asm	Wed Dec 22 09:37:24 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/customview.asm	Wed Dec 22 10:32:06 2010 +0100
@@ -238,6 +238,8 @@
 	return
 
 surfcustomview_minute_interval:
+	DISPLAYTEXT	d'189'							; Surface
+	DISPLAYTEXT	d'240'							; Interval:
 	call	PLED_interval						; Display the interval	
 	return
 
--- 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?