diff code_part1/OSTC_code_asm_part1/menu_custom.asm @ 90:6655b1c59adc

FIX new cf menu BOOL mode: should skip lines 2&3.
author JeanDo
date Fri, 10 Dec 2010 02:36:56 +0100
parents b40a0a6284da
children ce3283064cde
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_custom.asm	Fri Dec 10 15:49:18 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_custom.asm	Fri Dec 10 02:36:56 2010 +0100
@@ -335,8 +335,9 @@
 
 customfunctions2:
 	incf	menupos,F
-	btfss   apnoe_mins,0            ; Are we editing a boolean value ?
-	bra     customfunctions2a       ; NO : don't skip lines 2/3.
+	movf    cf_type,W               ; Are we editing a boolean value ?
+	xorlw   CF_BOOL
+	bnz     customfunctions2a       ; NO : don't skip lines 2/3.
 	
 	movlw   d'4'                    ; Just after increment,
 	cpfsgt  menupos                 ; Is current position < 4 ?