comparison src/simulator.asm @ 549:7c408bfaf2e8

2.26 stable RC1 BUGFIX: O2 Sensor readings were not updated in fixed setpoint mode CHANGE: Minor logbook layout fix
author heinrichsweikamp
date Mon, 25 Sep 2017 19:02:42 +0200
parents abf3cbd5815e
children b7eb98dbd800
comparison
equal deleted inserted replaced
548:abf3cbd5815e 549:7c408bfaf2e8
140 btfsc FLAG_ccr_mode 140 btfsc FLAG_ccr_mode
141 rcall get_first_dil_to_WREG 141 rcall get_first_dil_to_WREG
142 btfsc FLAG_pscr_mode 142 btfsc FLAG_pscr_mode
143 rcall get_first_dil_to_WREG 143 rcall get_first_dil_to_WREG
144 144
145 addlw .1 ; 1-5 145 incf WREG ; 1-5
146 movff WREG,char_I_first_gas ; Copy for compatibility 146 movff WREG,char_I_first_gas ; Copy for compatibility
147 sublw .1 ; 0-4 147 decf WREG ; 0-4
148 extern setup_gas_registers 148 extern setup_gas_registers
149 call setup_gas_registers ; With WREG=Gas 0-4, set current N2/He/O2 ratios. 149 call setup_gas_registers ; With WREG=Gas 0-4, set current N2/He/O2 ratios.
150 extern set_actual_ppo2 150 extern set_actual_ppo2
151 goto set_actual_ppo2 ; Then configure char_I_actual_ppO2 (For CNS) (And return!) 151 goto set_actual_ppo2 ; Then configure char_I_actual_ppO2 (For CNS) (And return!)
152 152