diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 655:8c01edcf57fc

Allow any diluent to be "First gas" in CCR modes
author heinrichsweikamp
date Tue, 23 Oct 2012 10:03:47 +0200
parents a38d82918458
children 8dd730d3a5d7
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Tue Oct 16 18:20:32 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Tue Oct 23 10:03:47 2012 +0200
@@ -1450,11 +1450,8 @@
 	cpfseq	apnoe_mins          ; All gases shown?
 	bra		PLED_pre_dive_screen3_loop	;no
 
-	read_int_eeprom 	d'96'			; Read O2
-	movff	EEDATA,lo
-	read_int_eeprom 	d'97'			; Read He
-    movff	EEDATA,hi
-
+
+    call    get_first_diluent           ; Read first diluent into lo(O2) and hi(He)
 	WIN_LEFT	.90
 	WIN_TOP		.100
 	STRCPY  TXT_DIL4