diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 344:797e2ac42d24 ScreenDump

MERGE with 1.91 main trunk.
author JeanDo
date Sat, 21 May 2011 14:48:07 +0200
parents 6bdf80d7276c 2144f19fa1eb
children b5b030c1ae7e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Tue May 17 01:05:04 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Sat May 21 14:48:07 2011 +0200
@@ -284,8 +284,7 @@
 	movwf	wait_temp						; Use as buffer
 	movff	wait_temp,char_I_N2_ratio		; No He at the Surface
 
-	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		
+    SAFE_2BYTE_COPY amb_pressure,int_I_pres_respiration ; copy surface air pressure to deco routine
 	GETCUSTOM8	d'11'									; Saturation multiplier %
 	movff	WREG,char_I_saturation_multiplier
 	GETCUSTOM8	d'12'									; Desaturation multiplier %