diff src/customview.asm @ 119:2acf3d068fae

Do not show "GF info" for non-GF modes
author heinrichsweikamp
date Fri, 27 Jun 2014 10:44:06 +0200
parents 0aaa4877ba25
children d076e9c02438
line wrap: on
line diff
--- a/src/customview.asm	Fri Jun 27 10:18:41 2014 +0200
+++ b/src/customview.asm	Fri Jun 27 10:44:06 2014 +0200
@@ -370,6 +370,11 @@
 	bra		customview_toggle				; Yes, Call next view...
 	btfsc	FLAG_gauge_mode					; In Gauge mode?
 	bra		customview_toggle				; Yes, Call next view...
+
+    extern  char_I_deco_model
+    TSTOSS  char_I_deco_model               ; 0 = ZH-L16, 1 = ZH-L16-GF
+    bra		customview_toggle				; No GF info for non-GF modes
+
     call    TFT_gf_mask                     ; Setup Mask
     call    TFT_gf_info                     ; Show GF informations
     bra		customview_toggle_exit