diff src/divemenu_tree.asm @ 193:901c10831e4e

reset voting logic on sensor switch
author heinrichsweikamp
date Mon, 03 Nov 2014 17:31:03 +0100
parents efe70488a04b
children bca0f054f023
line wrap: on
line diff
--- a/src/divemenu_tree.asm	Mon Nov 03 17:25:19 2014 +0100
+++ b/src/divemenu_tree.asm	Mon Nov 03 17:31:03 2014 +0100
@@ -67,6 +67,8 @@
     bsf     voting_logic_sensor1
     bsf     voting_logic_sensor2
     bsf     voting_logic_sensor3
+    extern  divemode_setup_sensor_values
+    call    divemode_setup_sensor_values    ; Setup sensor values
     bra     do_switch_sp2
 
 do_divemode_resetavr: