diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 724:03f8a8eec9ae

correct diluent store address
author heinrichsweikamp
date Wed, 29 May 2013 14:41:34 +0200
parents aebb6d039249
children
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Mon May 27 20:23:25 2013 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed May 29 14:41:34 2013 +0200
@@ -709,14 +709,14 @@
     decf   active_diluent,W             ; 0-4 -> WREG mH
     mullw   .4
     movf    PRODL,W
-    addlw   d'98'
+    addlw   d'99'
     movwf   EEADR
     call	read_eeprom					; Read He
 	movff	EEDATA,char_I_He_ratio		; And copy into hold register
     decf   active_diluent,W             ; 0-4 -> WREG
     mullw   .4
     movf    PRODL,W
-    addlw   d'97'
+    addlw   d'98'
     movwf   EEADR
     call	read_eeprom					; Read O2
 	movff	EEDATA, char_I_O2_ratio		; O2 ratio