diff code_part1/OSTC_code_asm_part1/start.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 f15e804ff67f
children 2cbaa01dac26
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Sat Mar 05 10:09:32 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Tue Mar 15 18:13:51 2011 +0100
@@ -41,11 +41,10 @@
 	call	disable_rs232			; disable UART module
 	call	RTCinit					; reset RTC
 
-; Extra power-up reset jDG jDG jDG jDG
+; Extra power-up reset (JeanDo)
 	ifdef	TESTING
 		call 	do_menu_reset_all2
 	endif
-; DONE jDG jDG jDG jDG
 
 ; Air pressure compensation	after reset
 	call	get_calibration_data	; Get calibration data from pressure sensor
@@ -72,7 +71,6 @@
 	movff	amb_pressure+1,last_surfpressure_30min+1	; Rests all airpressure registers
 
 ; reset deco data
-	incf	nofly_time+0,F					; =1
 	clrf	WREG                            ; Use as buffer
 	movff	WREG,char_I_He_ratio            ; No He at the Surface
 	movlw	d'79'							; 79% N2