diff src/customview.asm @ 525:00df86a5ac01

BUGFIX: Do not show GF in divemode for non-GF deco mode
author heinrichsweikamp
date Sat, 05 Aug 2017 15:04:08 +0200
parents d339c9e1175d
children d36f9fca10ae
line wrap: on
line diff
--- a/src/customview.asm	Sat Aug 05 10:58:40 2017 +0200
+++ b/src/customview.asm	Sat Aug 05 15:04:08 2017 +0200
@@ -506,9 +506,14 @@
     call    TFT_display_ppo2_val
 
     ; current GF value
+    extern  char_I_deco_model
+    TSTOSS  char_I_deco_model               ; 0 = ZH-L16, 1 = ZH-L16-GF
+    bra	    customview_toggle_exit	    ; No GF info for non-GF modes
+    ; current GF value
     call    TFT_gf_mask_cGF                 ; Setup Mask - current GF only
     call    TFT_gf_info                     ; Show GF informations
-    bra		customview_toggle_exit
+    bra	    customview_toggle_exit
+
 
 ;=============================================================================
 ; Show next customview (and delete this flag)