Mercurial > public > hwos_code
diff src/isr.asm @ 147:fdd4e30846ae
some cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 06 Aug 2014 11:59:04 +0200 |
parents | e3ac5b2021bc |
children | 022b886eddaf |
line wrap: on
line diff
--- a/src/isr.asm Tue Aug 05 17:11:48 2014 +0200 +++ b/src/isr.asm Wed Aug 06 11:59:04 2014 +0200 @@ -54,10 +54,6 @@ btfsc PIR5,TMR7IF ; Timer 7 rcall isr_tmr7 ; Every 62,5ms -;; IR-Link (again) -; btfsc PIR3,RC2IF ; UART2 -; rcall isr_uart2 ; IR-Link - ; RTCC btfsc PIR3,RTCCIF ; Real-time-clock interrupt rcall isr_rtcc ; May return in bank common! @@ -74,7 +70,6 @@ bcf RCSTA2,CREN ; Clear receiver status bsf RCSTA2,CREN banksel isr_backup - bcf PIR3,RC2IF ; Clear flag incf ir_counter,F ; Increase counter movff ir_counter,isr1_temp ; Copy dcfsnz isr1_temp,F @@ -857,11 +852,9 @@ movlw d'0' subwfb desaturation_time+1,F ; reduce by one... - ; Increase surface interval timer - movlw d'1' - addwf surface_interval+0,F - movlw d'0' - addwfc surface_interval+1,F + ; Increase surface interval timer + infsnz surface_interval+0,F + incf surface_interval+1,F return ; Done check_nofly_desat_time3: