Mercurial > public > hwos_code
comparison src/isr.asm @ 570:c8ea60294175
react to external S8 HUD disconnect or failure in surface mode
author | heinrichsweikamp |
---|---|
date | Sun, 11 Feb 2018 11:52:50 +0100 |
parents | 0ba88db66492 |
children | b455b31ce022 |
comparison
equal
deleted
inserted
replaced
569:fea63a20c1c5 | 570:c8ea60294175 |
---|---|
372 banksel hud_status_byte | 372 banksel hud_status_byte |
373 clrf hud_status_byte | 373 clrf hud_status_byte |
374 clrf o2_ppo2_sensor1 ; For IR/S8 HUD | 374 clrf o2_ppo2_sensor1 ; For IR/S8 HUD |
375 clrf o2_ppo2_sensor2 | 375 clrf o2_ppo2_sensor2 |
376 clrf o2_ppo2_sensor3 | 376 clrf o2_ppo2_sensor3 |
377 | 377 banksel common |
378 bsf new_s8_data_available ; set flag to update in surface mode | |
379 | |
378 isr_tmr7_2: | 380 isr_tmr7_2: |
379 banksel common | 381 banksel common |
380 btfss no_sensor_int ; No sensor interrupt (because it's addressed during sleep) | 382 btfss no_sensor_int ; No sensor interrupt (because it's addressed during sleep) |
381 bra isr_sensor_state2 ; No, continue | 383 bra isr_sensor_state2 ; No, continue |
382 banksel isr_backup ; Back to Bank0 ISR data | 384 banksel isr_backup ; Back to Bank0 ISR data |