diff code_part1/OSTC_code_asm_part1/start.asm @ 412:b2c9cc018671

small cleanup
author heinrichsweikamp
date Wed, 13 Jul 2011 11:12:43 +0200
parents e6e1b89b7c3e
children af2894e5cda4
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Tue Jul 12 20:21:57 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Wed Jul 13 11:12:43 2011 +0200
@@ -93,6 +93,9 @@
 	call	calc_deko_surfmode				; calculate desaturation every minute
 	call	deco_calc_wo_deco_step_1_min	; calculate deco in surface mode 
 	movlb	b'00000001'									; select ram bank 1
+  	clrf	nofly_time+0	              	; Reset NoFly
+  	clrf	nofly_time+1    	          	; Reset NoFly
+	bcf		nofly_active                	; Clear flag
 
 ; check firmware and reset Custom Functions after an update
 	movlw	d'1'