diff src/surfmode.asm @ 145:e3ac5b2021bc

NEW: Setpoint-Fallback option for external O2 sensor failure
author heinrichsweikamp
date Tue, 05 Aug 2014 16:55:09 +0200
parents 939f1e83c4c2
children 683321c09cfa
line wrap: on
line diff
--- a/src/surfmode.asm	Mon Aug 04 12:10:35 2014 +0200
+++ b/src/surfmode.asm	Tue Aug 05 16:55:09 2014 +0200
@@ -193,6 +193,7 @@
 	call	timeout_surfmode			; check timeout 
 	call	get_battery_voltage			; get battery voltage
     call    compute_ppo2                ; compute mv_sensorX and ppo2_sensorX arrays
+    call    check_sensors               ; Set enable/disable flags
 	call	TFT_update_batt_voltage		; display battery voltage
 	call	set_dive_modes				; tests if depth>threshold
     btfss   secs,0                      ; Every two seconds...