diff src/divemode.asm @ 152:19ad15f04f60

BUGFIX: Clear Setpoint-Fallback warning when in bailout NEW: 180? display rotation option
author heinrichsweikamp
date Thu, 21 Aug 2014 10:19:03 +0200
parents 022b886eddaf
children 99ac325586ce
line wrap: on
line diff
--- a/src/divemode.asm	Mon Aug 18 17:37:00 2014 +0200
+++ b/src/divemode.asm	Thu Aug 21 10:19:03 2014 +0200
@@ -303,6 +303,9 @@
 
     TSTOSS  opt_sensor_fallback             ; =1: Fallback to SP1 when sensor is lost
     bra     calc_deko_divemode2a            ; Never fallback
+
+    btfsc   is_bailout                      ; In bailout?
+    bra     calc_deko_divemode2a            ; Never fallback in bailout
     ; Check if we should fallback to SP1
   	btfsc	use_02_sensor1
     bra     calc_deko_divemode2a            ; At least one sensor is active, no fallback