Mercurial > public > hwos_code
comparison src/isr.asm @ 227:03946aa48fa5
NEW: Support for hwHUD without the LED module
re-enable "Copy disable flags from digital input" routine
author | heinrichsweikamp |
---|---|
date | Mon, 02 Feb 2015 17:39:38 +0100 |
parents | 93085f540746 |
children | 23311219dacc |
comparison
equal
deleted
inserted
replaced
226:8c11f60193be | 227:03946aa48fa5 |
---|---|
185 movff ir_s8_buffer+.11,hud_battery_mv+0 | 185 movff ir_s8_buffer+.11,hud_battery_mv+0 |
186 movff ir_s8_buffer+.12,hud_battery_mv+1 | 186 movff ir_s8_buffer+.12,hud_battery_mv+1 |
187 | 187 |
188 movlw ir_timeout_value ; multiples of 62,5ms | 188 movlw ir_timeout_value ; multiples of 62,5ms |
189 movwf ir_S8_timeout ; Reload timeout | 189 movwf ir_S8_timeout ; Reload timeout |
190 | |
191 banksel hud_status_byte | |
192 bsf hud_connection_ok ; Set manually for hwHUD w/o the HUD module... | |
193 banksel isr_backup ; Select Bank0 for ISR data. | |
190 | 194 |
191 isr_timer3_exit: | 195 isr_timer3_exit: |
192 clrf ir_s8_counter ; Clear pointer | 196 clrf ir_s8_counter ; Clear pointer |
193 bcf PIR2,TMR3IF ; Clear flag | 197 bcf PIR2,TMR3IF ; Clear flag |
194 return | 198 return |