diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 236:3dbeacf42e9e

BUGFIX missing deko init in reboot code. + Typo in ppN2 name.
author JeanDo
date Sat, 19 Mar 2011 15:15:17 +0100
parents 2cbaa01dac26
children 8f20e8948b97
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Sat Mar 19 11:34:32 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Sat Mar 19 15:15:17 2011 +0100
@@ -281,11 +281,9 @@
 	movff	amb_pressure+0,int_I_pres_respiration+0		; copy surface air pressure to deco routine
 	movff	amb_pressure+1,int_I_pres_respiration+1		
 	GETCUSTOM8	d'11'									; Saturation multiplier %
-	movwf	wait_temp
-	movff	wait_temp,char_I_saturation_multiplier
+	movff	WREG,char_I_saturation_multiplier
 	GETCUSTOM8	d'12'									; Desaturation multiplier %
-	movwf	wait_temp
-	movff	wait_temp,char_I_desaturation_multiplier
+	movff	WREG,char_I_desaturation_multiplier
 
 	call	deco_calc_wo_deco_step_1_min    ; calculate deco in surface mode 
 	movlb	b'00000001'									; select ram bank 1