diff src/tft_outputs.asm @ 139:e0b758865e91

some cleanup
author heinrichsweikamp
date Thu, 17 Jul 2014 17:56:09 +0200
parents 4574aed5cd4c
children e3ac5b2021bc
line wrap: on
line diff
--- a/src/tft_outputs.asm	Thu Jul 17 14:34:10 2014 +0200
+++ b/src/tft_outputs.asm	Thu Jul 17 17:56:09 2014 +0200
@@ -804,6 +804,7 @@
     WIN_SMALL dive_custom_dyn_mask_column1,dive_custom_dyn_mask_row1
     movlw   .1
     movwf   tft_gaslist_temp+0
+    bsf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
     rcall   TFT_dyn_gaslist_common
     WIN_SMALL dive_custom_dyn_mask_column1,dive_custom_dyn_mask_row2
     incf    tft_gaslist_temp+0,F     ; +1
@@ -817,7 +818,6 @@
     incf    tft_gaslist_temp+0,F     ; +1
     movf    tft_gaslist_temp+0,W     ; into W
     rcall   TFT_dyn_gaslist_common
-    bcf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
     call	TFT_standard_color
     return
 
@@ -832,7 +832,6 @@
     output_8            ; Gas number
     bcf     leftbind
     PUTC    ":"
-    bsf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
     call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
     PUTC    " "         ; Clearing space
     movlw   0x00
@@ -1720,7 +1719,6 @@
 TFT_surface_decosettings1:
     TEXT_SMALL  surf_gaslist_column,surf_gaslist_row,  tZHL16GF
     WIN_TOP surf_gaslist_row+(surf_gaslist_spacing*.1)
-    lfsr    FSR2,buffer
     STRCPY_TEXT tGF         ; GF:
     movff   char_I_GF_Low_percentage,lo
     output_99x
@@ -1732,7 +1730,6 @@
 TFT_surface_decosettings2:
     ; FTTS
     WIN_TOP surf_gaslist_row+(surf_gaslist_spacing*.2)
-    lfsr    FSR2,buffer
     STRCPY_TEXT tFTTSMenu
     movff   char_I_extra_time,lo
     bsf     leftbind
@@ -1741,7 +1738,6 @@
 
     ; Last Stop
     WIN_TOP surf_gaslist_row+(surf_gaslist_spacing*.3)
-    lfsr    FSR2,buffer
     STRCPY_TEXT tLastDecostop
     movff   char_I_depth_last_deco,lo
     output_8
@@ -1749,7 +1745,6 @@
 
     ; Salinity
     WIN_TOP surf_gaslist_row+(surf_gaslist_spacing*.4)
-    lfsr    FSR2,buffer
     STRCPY_TEXT tDvSalinity
     movff   opt_salinity,lo
     output_8
@@ -2384,7 +2379,6 @@
     movwf   PRODL
     call    gaslist_strcat_setpoint     ; Show SP#+1 of PRODL#
     STRCAT_PRINT ""
-    bcf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
     bcf     leftbind
     return
 
@@ -2422,7 +2416,6 @@
     movwf   PRODL
     call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
     STRCAT_PRINT ""
-    bcf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
     bcf     leftbind
     return
 
@@ -2459,7 +2452,6 @@
     movwf   PRODL
     call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
     STRCAT_PRINT ""
-    bcf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
     bcf     leftbind
     return