diff code_part1/OSTC_code_asm_part1/menu_reset.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 49c90c5d9603
children 1efd59d689f8
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sat Mar 05 10:09:32 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Tue Mar 15 18:13:51 2011 +0100
@@ -370,8 +370,7 @@
 	write_int_eeprom	d'37'		; reset mix2 to ppO2=1.00Bar
 	write_int_eeprom	d'38'		; reset mix3 to ppO2=1.00Bar
 
-	movlw	d'1'
-	movwf	nofly_time+0			; Clear nofly time
+	clrf	nofly_time+0			; Clear nofly time
 	clrf	nofly_time+1			; Clear nofly time
 
 reset_all_cf_bank0: