diff src/customview.asm @ 136:9a637c9bb19a

rename Deco Planner to Simulator
author heinrichsweikamp
date Thu, 17 Jul 2014 13:29:25 +0200
parents 4574aed5cd4c
children 28b057aa9f75
line wrap: on
line diff
--- a/src/customview.asm	Wed Jul 16 14:39:56 2014 +0200
+++ b/src/customview.asm	Thu Jul 17 13:29:25 2014 +0200
@@ -398,10 +398,14 @@
     bra		customview_toggle_exit
 
 customview_init_view8:                      ; Sensor millivolts
+	btfsc	FLAG_gauge_mode					; In Gauge mode?
+	bra		customview_toggle				; Yes, Call next view...
 	btfsc	FLAG_apnoe_mode					; In Apnoe mode?
 	bra		customview_toggle				; yes, Call next view...
 	btfss	FLAG_ccr_mode					; In CC mode?
 	bra		customview_toggle				; no, Call next view...
+    TSTOSS  opt_ccr_mode                    ; =0: Fixed SP, =1: Sensor
+	bra		customview_toggle				; no, Call next view...
     call    TFT_hud_mask                    ; Setup HUD mask
     call    TFT_hud_voltages                ; Show HUD details
     bra		customview_toggle_exit