diff src/divemode.asm @ 161:99065ef2d18e

skip fallback warning in OC modes
author heinrichsweikamp
date Tue, 09 Sep 2014 16:50:29 +0200
parents 99ac325586ce
children 8bcb064b4fb8
line wrap: on
line diff
--- a/src/divemode.asm	Mon Sep 08 15:39:41 2014 +0200
+++ b/src/divemode.asm	Tue Sep 09 16:50:29 2014 +0200
@@ -296,6 +296,9 @@
 
     bcf     setpoint_fallback               ; =1: Fallback to SP1 due to external O2 sensor failure
 
+    btfss   FLAG_ccr_mode                   ; In CCR mode?
+    bra     calc_deko_divemode2a            ; Skip all the following if not in CCR mode
+
     TSTOSS  opt_ccr_mode                    ; =0: Fixed SP, =1: Sensor
     bra     calc_deko_divemode2a
     rcall   divemode_setup_sensor_values    ; Setup sensor values