diff src/customview.asm @ 502:0910c227018f

BUGFIX: PSCR mode showed bailout gaslist instead of diluent gaslist NEW: More customviews in surface mode for PSCR mode BUGFIX: several minor graphic issues in logbook fixed
author heinrichsweikamp
date Fri, 09 Jun 2017 14:47:02 +0200
parents 18e047102e49
children 4542d03f748a
line wrap: on
line diff
--- a/src/customview.asm	Mon May 22 23:03:21 2017 +0200
+++ b/src/customview.asm	Fri Jun 09 14:47:02 2017 +0200
@@ -159,7 +159,9 @@
     btfsc   FLAG_apnoe_mode
     bra     surf_customview_toggle
     btfsc   FLAG_ccr_mode
-    bra     surf_customview_init_view1_bail ; Bailoutversion
+    bra     surf_customview_init_view1_bail ; Bailout version of "OC Gas List"
+    btfsc   FLAG_pscr_mode
+    bra     surf_customview_init_view1_bail ; Bailout version of "OC Gas List"
     STRCPY_TEXT_PRINT tGaslist              ; Title of customview
     call    TFT_standard_color
     call	TFT_gaslist_surfmode            ; Show gas list
@@ -172,12 +174,15 @@
     bra		customview_toggle_exit          ; Done.
 
 surf_customview_init_view2:                 ; View2: CC Dil list
+    btfsc   FLAG_pscr_mode
+    bra     surf_customview_init_view2_2
     btfss   FLAG_ccr_mode
     bra     surf_customview_toggle
     btfsc   FLAG_gauge_mode
     bra     surf_customview_toggle
     btfsc   FLAG_apnoe_mode
     bra     surf_customview_toggle
+surf_customview_init_view2_2:    
     STRCPY_TEXT_PRINT tGaslistCC            ; Title of customview
     call    TFT_standard_color
     call	TFT_dillist_surfmode            ; Show diluent list