[chirp_devel] [PATCH 2 of 3] Update FT857 driver to handle the changed Cross Modes definitions

Dan Smith
Fri Mar 30 16:10:52 PDT 2012


# HG changeset patch
# User Dan Smith <dsmith at danplanet.com>
# Date 1333148989 25200
# Node ID 388a9711c7a30dbd7ced6b9005c9813ef22443af
# Parent  ad1cf47a08349f459581eddbe53bce44a7101029
Update FT857 driver to handle the changed Cross Modes definitions
Bug #65

diff -r ad1cf47a0834 -r 388a9711c7a3 chirp/ft857.py
--- a/chirp/ft857.py	Fri Mar 30 16:09:42 2012 -0700
+++ b/chirp/ft857.py	Fri Mar 30 16:09:49 2012 -0700
@@ -123,19 +123,19 @@
     }
 
     CROSS_MODES = {
-        0x08 : "DCS->Off",
-        0x06 : "Tone->DCS",
-        0x09 : "DCS->CTCSS",
-        0x01 : "Off->Tone",
-        0x02 : "Off->DCS",
+        0x08 : "DTCS->",
+        0x06 : "Tone->DTCS",
+        0x09 : "DTCS->Tone",
+        0x01 : "->Tone",
+        0x02 : "->DTCS",
     }
 
     CROSS_MODES_REV = {
-        "DCS->Off"   : 0x08,
-        "Tone->DCS"  : 0x06,
-        "DCS->CTCSS" : 0x09,
-        "Off->Tone"  : 0x01,
-        "Off->DCS"   : 0x02,
+        "DTCS->"   : 0x08,
+        "Tone->DTCS"  : 0x06,
+        "DTCS->Tone" : 0x09,
+        "->Tone"  : 0x01,
+        "->DTCS"   : 0x02,
     }
 
     _model = ""



More information about the chirp_devel mailing list