diff src/gaslist.asm @ 505:bef07a837a60

BUGFIX: Reset to MOD in Diluent Menu did reset Setpoint change depth
author heinrichsweikamp
date Mon, 26 Jun 2017 12:30:54 +0200
parents 653a3ab08062
children 4e6f5c36f4cc
line wrap: on
line diff
--- a/src/gaslist.asm	Sat Jun 24 19:26:06 2017 +0200
+++ b/src/gaslist.asm	Mon Jun 26 12:30:54 2017 +0200
@@ -689,7 +689,7 @@
         movwf   lo                      ; Copy to lo
 
         movf    gaslist_gas,W           ; Compare to switch depth
-        lfsr    FSR1,char_I_dil_change  ; Setup Diluents
+        lfsr    FSR1,char_I_dil_change-.5  ; Setup Diluents
         btfss   ccr_diluent_setup           ; In CCR-Menu?
         lfsr    FSR1,opt_OC_bail_gas_change ; No, setup OC Gases
         movf   	PLUSW1,W
@@ -706,7 +706,7 @@
 
         movf    gaslist_gas,W           ; Read current gas O2 ratio
 
-        lfsr    FSR1,char_I_dil_change      ; Setup Diluents mH
+        lfsr    FSR1,char_I_dil_change-.5   ; Setup Diluents
         btfss   ccr_diluent_setup           ; In CCR-Menu?
         lfsr    FSR1,opt_OC_bail_gas_change ; No, setup OC Gases