[chirp_devel] [PATCH] [ft4] unscramble VFO name order [#6611]

DanClemmensen
Fri Mar 15 09:26:51 PDT 2019


# HG changeset patch
# User DanClemmensen <DanClemmensen at gmail.com>
# Date 1552667172 25200
#      Fri Mar 15 09:26:12 2019 -0700
# Node ID 0c5835d86d114e7ce5a8f0f3b65d3b2b4970da28
# Parent  76f2176cbbac5b501d8e811de47cc91672ae1271
[ft4] unscramble VFO name order [#6611]
Order in the lists must be then same as order in the
radio mem.
Fixes: #6611

diff -r 76f2176cbbac -r 0c5835d86d11 chirp/drivers/ft4.py
--- a/chirp/drivers/ft4.py	Wed Mar 13 16:34:53 2019 -0700
+++ b/chirp/drivers/ft4.py	Fri Mar 15 09:26:12 2019 -0700
@@ -533,14 +533,14 @@
 CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqurtuvwxyz*# "
 PMSNAMES = ["%s%02d" % (c, i) for i in range(1, 11) for c in ('L', 'U')]
 
-# Three separate arrays of special channel mems.
+# Four separate arrays of special channel mems.
 # Each special has unique constrants: band, name yes/no, and pms L/U
 # The FT-65 class replaces the "prog" entry in this list.
 # The name field must be the name of a slot array in MEM_FORMAT
 SPECIALS = [
     ("pms", PMSNAMES),
-    ("vfo", ["VFO A UHF", "VFO A VHF", "VFO B UHF", "VFO B UHF", "VFO B FM"]),
-    ("home", ["HOME UHF", "HOME VHF", "HOME FM"]),
+    ("vfo", ["VFO A UHF", "VFO A VHF", "VFO B FM", "VFO B VHF", "VFO B UHF"]),
+    ("home", ["HOME FM", "HOME VHF", "HOME UHF"]),
     ("prog", ["P1", "P2"])
     ]
 FT65_PROGS = ("prog", ["P1", "P2", "P3", "P4"])



More information about the chirp_devel mailing list