diff code_part1/OSTC_code_asm_part1/interface.asm @ 229:85ea09d3b9d8

Nofly should not be reset after dive simulation (bug BB18).
author JeanDo
date Tue, 15 Mar 2011 18:13:51 +0100
parents 14a074e1a375
children 7250ca7c8d24
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/interface.asm	Sat Mar 05 10:09:32 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/interface.asm	Tue Mar 15 18:13:51 2011 +0100
@@ -48,8 +48,7 @@
 	call		deco_clear_CNS_fraction			; clear CNS
 	movlb		b'00000001'						; select ram bank 1
 
-	movlw		d'1'
-	movwf		nofly_time+0				; Clear nofly time
+	clrf		nofly_time+0				; Clear nofly time
 	clrf		nofly_time+1				; Clear nofly time
 
 	movlw		'h'							; send echo