diff src/divemenu_tree.asm @ 195:bca0f054f023

allow auto-return from setpoint fallback
author heinrichsweikamp
date Wed, 05 Nov 2014 14:43:13 +0100
parents 901c10831e4e
children 94bf757690cf
line wrap: on
line diff
--- a/src/divemenu_tree.asm	Tue Nov 04 15:21:32 2014 +0100
+++ b/src/divemenu_tree.asm	Wed Nov 05 14:43:13 2014 +0100
@@ -15,6 +15,7 @@
 #include    "tft_outputs.inc"
 #include    "customview.inc"
 #include    "strings.inc"
+#include    "calibrate.inc"
 
 divegui     CODE
 ;=============================================================================
@@ -69,6 +70,7 @@
     bsf     voting_logic_sensor3
     extern  divemode_setup_sensor_values
     call    divemode_setup_sensor_values    ; Setup sensor values
+    call    check_sensors                   ; Check O2 sensor thresholds for fallback
     bra     do_switch_sp2
 
 do_divemode_resetavr: