comparison src/isr.asm @ 172:df449e5b1c81

BUGFIX: Future TTS in sensor mode
author heinrichsweikamp
date Tue, 30 Sep 2014 19:19:53 +0200
parents 19ad15f04f60
children 3fdafedc24af
comparison
equal deleted inserted replaced
171:2f1f3da0ae98 172:df449e5b1c81
115 bsf T3CON,TMR3ON ; (Re)Start Timeout counter 115 bsf T3CON,TMR3ON ; (Re)Start Timeout counter
116 return 116 return
117 117
118 isr_timer3: ; IR-Link Timeout 118 isr_timer3: ; IR-Link Timeout
119 bcf T3CON,TMR3ON ; Stop Timer3 119 bcf T3CON,TMR3ON ; Stop Timer3
120 movff ir_counter,char_I_extra_time
121 banksel isr_backup ; Select Bank0 for ISR data. 120 banksel isr_backup ; Select Bank0 for ISR data.
122 movlw .15 121 movlw .15
123 cpfseq ir_counter ; Got exact 15bytes? 122 cpfseq ir_counter ; Got exact 15bytes?
124 bra isr_timer3_1 ; No, test for 16bytes 123 bra isr_timer3_1 ; No, test for 16bytes
125 bra isr_timer3_ir ; Got 15 bytes, compute local checksum 124 bra isr_timer3_ir ; Got 15 bytes, compute local checksum