diff src/customview.asm @ 249:94bf757690cf

ignore sensor for non-sensor hardware
author heinrichsweikamp
date Tue, 17 Mar 2015 12:16:15 +0100
parents 973a0969e0ac
children 5fe7aff622f3
line wrap: on
line diff
--- a/src/customview.asm	Mon Mar 16 15:58:51 2015 +0100
+++ b/src/customview.asm	Tue Mar 17 12:16:15 2015 +0100
@@ -387,6 +387,10 @@
 	bra		customview_toggle				; yes, Call next view...
 	btfss	FLAG_ccr_mode					; In CC mode?
 	bra		customview_toggle				; no, Call next view...
+    movf    hardware_flag,W
+    sublw   0x11        ; 2 with BLE
+    btfsc   STATUS,Z
+    bra		customview_toggle				; no, Call next view...
 
     bsf     dive_hud1_displayed         ; Set display flag
     bsf     dive_hud2_displayed         ; Set display flag