diff src/divemenu_tree.asm @ 192:efe70488a04b

voting logic for external monitoring
author heinrichsweikamp
date Mon, 03 Nov 2014 17:25:19 +0100
parents 93023d78812e
children 901c10831e4e
line wrap: on
line diff
--- a/src/divemenu_tree.asm	Thu Oct 30 17:45:50 2014 +0100
+++ b/src/divemenu_tree.asm	Mon Nov 03 17:25:19 2014 +0100
@@ -64,6 +64,9 @@
 do_switch_to_sensor:
     movlw   .1                      ; Switch to Sensor
     movff   WREG,opt_ccr_mode       ; =0: Fixed SP, =1: Sensor
+    bsf     voting_logic_sensor1
+    bsf     voting_logic_sensor2
+    bsf     voting_logic_sensor3
     bra     do_switch_sp2
 
 do_divemode_resetavr: