diff code_part1/OSTC_code_asm_part1/divemode.asm @ 685:aebb6d039249

Use 4byte in EEPROM for diluents (Same as OC gases) Show active gas indicator below first gas in surfacemode
author heinrichsweikamp
date Sat, 26 Jan 2013 14:11:07 +0100
parents 6e456a6398e0
children 8ffbd5cb4b42
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Sat Jan 26 10:41:35 2013 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Sat Jan 26 14:11:07 2013 +0100
@@ -1459,7 +1459,7 @@
 
     movlw   .33                     ; Start gas
     btfsc   FLAG_const_ppO2_mode    ; In CCR mode?
-    movlw   .106                    ; Yes, use start Diluent instead
+    movlw   .116                    ; Yes, use start Diluent instead
     movwf   EEADR
     call    read_eeprom
 	movf	EEDATA,W
@@ -2110,6 +2110,6 @@
 	bsf		STATUS,C					; Borrow bit
 	subfwb	lo,W        				; minus O2
 	movff	WREG, char_I_N2_ratio		; = N2!
-    read_int_eeprom d'106'              ; Read First Diluent (1-5)
+    read_int_eeprom d'116'              ; Read First Diluent (1-5)
     movff   EEDATA,active_diluent
     return
\ No newline at end of file