diff src/simulator.asm @ 94:f2201aa374db

BUGFIX: compass calibration does now timeout automatically after 60s BUGFIX: decoplan re-calculation in bailout case
author heinrichsweikamp
date Tue, 22 Apr 2014 12:59:14 +0200
parents 8e13866b5496
children 53a99a2dc6a1
line wrap: on
line diff
--- a/src/simulator.asm	Thu Apr 17 10:28:04 2014 +0200
+++ b/src/simulator.asm	Tue Apr 22 12:59:14 2014 +0200
@@ -272,6 +272,10 @@
         tstfsz  WREG                  ; Disabled?
         bra     $+4                   ; No
         movff   WREG,char_I_deco_gas_change+4   ; Yes, clear char_I_deco_gas_change
+        nop
+
+        movlw   .0
+        movff   WREG,char_I_const_ppO2  ; Clear constant ppO2 for OC/bailout
         return
 
 ;=============================================================================