changeset 570:c8ea60294175

react to external S8 HUD disconnect or failure in surface mode
author heinrichsweikamp
date Sun, 11 Feb 2018 11:52:50 +0100 (2018-02-11)
parents fea63a20c1c5
children 1a7957306d49
files src/isr.asm
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/isr.asm	Fri Feb 09 11:22:42 2018 +0100
+++ b/src/isr.asm	Sun Feb 11 11:52:50 2018 +0100
@@ -374,7 +374,9 @@
         clrf    o2_ppo2_sensor1		; For IR/S8 HUD
         clrf    o2_ppo2_sensor2
         clrf    o2_ppo2_sensor3
-
+	banksel	common
+	bsf     new_s8_data_available   ; set flag to update in surface mode
+	
 isr_tmr7_2:
         banksel common
 		btfss	no_sensor_int			; No sensor interrupt (because it's addressed during sleep)