[chirp_devel] [PATCH 4 of 4] [TS2000] Fix radio modes

Marco Filippi IZ3GME
Tue Jan 19 13:02:37 PST 2016


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1453237285 -3600
#      Tue Jan 19 22:01:25 2016 +0100
# Node ID bb833349d8dd3e5c00b35f9cf789075d506e954c
# Parent  f0b05d646db94dafec1d3ff71b2aa2efe9694677
[TS2000] Fix radio modes

Driver request CWR, FSK and FSKR, they must match in common mode list

Discovered while working on #3185
related to #3103

diff -r f0b05d646db9 -r bb833349d8dd chirp/chirp_common.py
--- a/chirp/chirp_common.py	Tue Jan 19 21:03:57 2016 +0100
+++ b/chirp/chirp_common.py	Tue Jan 19 22:01:25 2016 +0100
@@ -68,7 +68,8 @@
 ]
 
 MODES = ["WFM", "FM", "NFM", "AM", "NAM", "DV", "USB", "LSB", "CW", "RTTY",
-         "DIG", "PKT", "NCW", "NCWR", "CWR", "P25", "Auto", "RTTYR"]
+         "DIG", "PKT", "NCW", "NCWR", "CWR", "P25", "Auto", "RTTYR",
+         "FSK", "FSKR"]
 
 TONE_MODES = [
     "",
diff -r f0b05d646db9 -r bb833349d8dd chirp/drivers/ts2000.py
--- a/chirp/drivers/ts2000.py	Tue Jan 19 21:03:57 2016 +0100
+++ b/chirp/drivers/ts2000.py	Tue Jan 19 22:01:25 2016 +0100
@@ -25,7 +25,7 @@
 TS2000_DUPLEX[3] = "="
 TS2000_DUPLEX[4] = "split"
 TS2000_MODES = ["?", "LSB", "USB", "CW", "FM", "AM",
-                "FSK", "CW-R", "?", "FSK-R"]
+                "FSK", "CWR", "?", "FSKR"]
 TS2000_TMODES = ["", "Tone", "TSQL", "DTCS"]
 TS2000_TONES = list(chirp_common.OLD_TONES)
 TS2000_TONES.remove(69.3)



More information about the chirp_devel mailing list