Mercurial > public > hwos_code
diff src/isr.asm @ 145:e3ac5b2021bc
NEW: Setpoint-Fallback option for external O2 sensor failure
author | heinrichsweikamp |
---|---|
date | Tue, 05 Aug 2014 16:55:09 +0200 |
parents | f3062a611eef |
children | fdd4e30846ae |
line wrap: on
line diff
--- a/src/isr.asm Mon Aug 04 12:10:35 2014 +0200 +++ b/src/isr.asm Tue Aug 05 16:55:09 2014 +0200 @@ -555,20 +555,12 @@ tstfsz secs ; Secs == 0 ? return ; No, Done. -; banksel isr_backup ; Back to Bank0 ISR data -; movff secs,isr1_temp ; Copy to Bank0 -; movlw d'0' -; cpfseq isr1_temp ; Secs == 0 ? -; return ; Done. - -; banksel common ; flag1 is in Bank1 bsf oneminupdate ; A new minute has begun btfss divemode ; In Divemode? rcall check_nofly_desat_time ; No, so reduce NoFly and Desat and increase interval ; Check if a new hour has just begun -; banksel common ; flag1 is in Bank1 tstfsz mins ; mins=0? bra isr_rtcc2 ; No bsf onehourupdate ; Yes, set flag