Mercurial > public > hwos_code
diff 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 |
line wrap: on
line diff
--- a/src/simulator.asm Fri Sep 08 14:04:38 2017 +0200 +++ b/src/simulator.asm Mon Sep 25 19:02:42 2017 +0200 @@ -142,9 +142,9 @@ btfsc FLAG_pscr_mode rcall get_first_dil_to_WREG - addlw .1 ; 1-5 + incf WREG ; 1-5 movff WREG,char_I_first_gas ; Copy for compatibility - sublw .1 ; 0-4 + decf WREG ; 0-4 extern setup_gas_registers call setup_gas_registers ; With WREG=Gas 0-4, set current N2/He/O2 ratios. extern set_actual_ppo2