diff code_part1/OSTC_code_asm_part1/menu.asm @ 686:8ffbd5cb4b42

Hard-coded min. Values for CF00 and CF01 Set cursor to "Exit" when leaving sub-menus
author heinrichsweikamp
date Sat, 26 Jan 2013 14:36:26 +0100
parents 6e456a6398e0
children 91ae251d379f
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu.asm	Sat Jan 26 14:11:07 2013 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu.asm	Sat Jan 26 14:36:26 2013 +0100
@@ -146,7 +146,7 @@
 	goto	menu_simulator
 	dcfsnz	menupos,F
 	goto	altimeter_menu
-	movlw	d'5'
+	movlw	d'6'
 	movwf	menupos
 	bra		menu2						; exit...
 
@@ -340,7 +340,7 @@
 	bra		toggle_salinity
 	dcfsnz	menupos,F
 	bra		toggle_brightness		; toggle between ECO and HIGH
-	movlw	d'5'					; set cursor to "More again"
+	movlw	d'6'					; set cursor to "More again"
 	movwf	menupos
 	bra		setup_menu2						; exit...