diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 100:db4a20b413df

Checking all CF values at once. Fix minor false negative check on 15bit CF values.
author JeanDo
date Tue, 14 Dec 2010 02:20:04 +0100
parents ce3283064cde
children a2b9eca1f396
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Sun Dec 12 16:47:32 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Tue Dec 14 02:20:04 2010 +0100
@@ -98,8 +98,7 @@
 	bcf		switch_right
 	call	PLED_active_gas_surfmode	; Show start gas / SetPoint
 	call	PLED_custom_text			; Displays custom text
-	movlw	d'1'						; next cf to check
-	movwf	cf_checker_counter			; 
+	clrf	cf_checker_counter			; next cf to check
 	ostc_debug	'G'						; Sends debug-information to screen if debugmode active
 	GETCUSTOM8	d'12'					; Desaturation multiplier %
 	movwf	wait_temp