[chirp_devel] [PATCH] [ft8x7] Hide power column in the spreadsheet

Marco Filippi IZ3GME
Mon Jul 7 10:15:21 PDT 2014


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1404752017 -7200
#      Mon Jul 07 18:53:37 2014 +0200
# Node ID e67126c7fa663bafbbdb74060989554642e0bad7
# Parent  7b7f83319e43dd19ce1ba1c63d8eabada53160ce
[ft8x7] Hide power column in the spreadsheet

As Yaesu FT8x7 family radios does not support per memory power set we have to
hide power column in the spreadsheet, that's a feature of UI I discovered right
now

Fix #1741

diff -r 7b7f83319e43 -r e67126c7fa66 chirp/ft817.py
--- a/chirp/ft817.py	Sat Jun 07 09:46:34 2014 -0700
+++ b/chirp/ft817.py	Mon Jul 07 18:53:37 2014 +0200
@@ -51,12 +51,6 @@
     CHARSET = list(chirp_common.CHARSET_ASCII)
     CHARSET.remove("\\")
 
-    # Hi not used in memory
-    POWER_LEVELS = [chirp_common.PowerLevel("Hi", watts=5.00),
-                    chirp_common.PowerLevel("L3", watts=2.50),
-                    chirp_common.PowerLevel("L2", watts=1.00),
-                    chirp_common.PowerLevel("L1", watts=0.5)]
-
     _memsize = 6509
     # block 9 (130 Bytes long) is to be repeted 40 times
     _block_lengths = [ 2, 40, 208, 182, 208, 182, 198, 53, 130, 118, 118]
@@ -443,7 +437,7 @@
         rf.valid_tuning_steps = list(self.STEPSFM)
         rf.valid_bands = self.VALID_BANDS
         rf.valid_skips = ["", "S"]
-        rf.valid_power_levels = self.POWER_LEVELS
+        rf.valid_power_levels = []
         rf.valid_characters = "".join(self.CHARSET)
         rf.valid_name_length = 8
         rf.valid_special_chans = sorted(self.SPECIAL_MEMORIES.keys())



More information about the chirp_devel mailing list