Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
504:f522210b3743 | 505:bef07a837a60 |
---|---|
687 gaslist_reset_mod_title2: | 687 gaslist_reset_mod_title2: |
688 rcall gaslist_calc_mod ; Compute MOD into WREG | 688 rcall gaslist_calc_mod ; Compute MOD into WREG |
689 movwf lo ; Copy to lo | 689 movwf lo ; Copy to lo |
690 | 690 |
691 movf gaslist_gas,W ; Compare to switch depth | 691 movf gaslist_gas,W ; Compare to switch depth |
692 lfsr FSR1,char_I_dil_change ; Setup Diluents | 692 lfsr FSR1,char_I_dil_change-.5 ; Setup Diluents |
693 btfss ccr_diluent_setup ; In CCR-Menu? | 693 btfss ccr_diluent_setup ; In CCR-Menu? |
694 lfsr FSR1,opt_OC_bail_gas_change ; No, setup OC Gases | 694 lfsr FSR1,opt_OC_bail_gas_change ; No, setup OC Gases |
695 movf PLUSW1,W | 695 movf PLUSW1,W |
696 cpfslt lo | 696 cpfslt lo |
697 bra gaslist_strcat_4 ; And return... | 697 bra gaslist_strcat_4 ; And return... |
704 rcall gaslist_calc_mod ; Compute MOD | 704 rcall gaslist_calc_mod ; Compute MOD |
705 movwf gaslist_depth | 705 movwf gaslist_depth |
706 | 706 |
707 movf gaslist_gas,W ; Read current gas O2 ratio | 707 movf gaslist_gas,W ; Read current gas O2 ratio |
708 | 708 |
709 lfsr FSR1,char_I_dil_change ; Setup Diluents mH | 709 lfsr FSR1,char_I_dil_change-.5 ; Setup Diluents |
710 btfss ccr_diluent_setup ; In CCR-Menu? | 710 btfss ccr_diluent_setup ; In CCR-Menu? |
711 lfsr FSR1,opt_OC_bail_gas_change ; No, setup OC Gases | 711 lfsr FSR1,opt_OC_bail_gas_change ; No, setup OC Gases |
712 | 712 |
713 movff gaslist_depth,PLUSW1 ; And save new change depth | 713 movff gaslist_depth,PLUSW1 ; And save new change depth |
714 return | 714 return |