# HG changeset patch
# User JeanDo
# Date 1291945016 -3600
# Node ID 6655b1c59adcb2990d15b52e2e82bf0638445133
# Parent  e6dc091dba31714d9abe3b01d6b7be8646e2bc89
FIX new cf menu BOOL mode: should skip lines 2&3.

diff -r e6dc091dba31 -r 6655b1c59adc code_part1/OSTC_code_asm_part1/menu_custom.asm
--- 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 ?