Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode.asm @ 816:df8cd5ffd993
BUGFIX: Load first diluent if <> 1 correctly
Auto-SP change work...
author | heinrichsweikamp |
---|---|
date | Sat, 16 May 2015 14:48:26 +0200 |
parents | 2a0e5d884fc3 |
children | 3d9f56e0d18c |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Tue May 12 11:30:35 2015 +0200 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Sat May 16 14:48:26 2015 +0200 @@ -1503,7 +1503,7 @@ movlw .33 ; Start gas btfsc FLAG_const_ppO2_mode ; In CCR mode? - movlw .116 ; Yes, use start Diluent instead + movlw .115 ; Yes, use start Diluent instead movwf EEADR call read_eeprom movf EEDATA,W @@ -2188,6 +2188,6 @@ bsf STATUS,C ; Borrow bit subfwb lo,W ; minus O2 movff WREG, char_I_N2_ratio ; = N2! - read_int_eeprom d'116' ; Read First Diluent (1-5) + read_int_eeprom d'115' ; Read First Diluent (1-5) movff EEDATA,active_diluent return \ No newline at end of file