# HG changeset patch # User Dan Smith dsmith@danplanet.com # Date 1333148982 25200 # Node ID ad1cf47a08349f459581eddbe53bce44a7101029 # Parent a3d397d29b3cfd84e3e42d283c452a42fe30f22b Fix the terminology in the Cross Modes definition so that it's more consistent. It was added to support Kenwood radios, which use DCS instead of DTCS and CTCSS instead of TSQL. This changes it to just "Tone" or "DTCS" for the transmit and receive modes. Related to Bug #65
diff -r a3d397d29b3c -r ad1cf47a0834 chirp/chirp_common.py --- a/chirp/chirp_common.py Fri Mar 30 16:20:10 2012 -0600 +++ b/chirp/chirp_common.py Fri Mar 30 16:09:42 2012 -0700 @@ -52,12 +52,12 @@ DTCS_EXTRA_CODES = [ 17, ]
CROSS_MODES = [ - "DCS->Off", - "Tone->DCS", - "DCS->CTCSS", - "Tone->CTCSS", - "Off->Tone", - "Off->DCS", + "Tone->Tone", + "Tone->DTCS", + "DTCS->Tone", + "DTCS->", + "->Tone", + "->DTCS", ]
MODES = ["WFM", "FM", "NFM", "AM", "NAM", "DV", "USB", "LSB", "CW", "RTTY", "DIG", "PKT", "NCW", "NCWR", "CWR"] @@ -204,7 +204,7 @@ ctone = 88.5 dtcs = 23 tmode = "" - cross_mode = "DCS->Off" + cross_mode = "Tone->Tone" dtcs_polarity = "NN" skip = "" power = None @@ -229,7 +229,7 @@ self.ctone = 88.5 self.dtcs = 23 self.tmode = "" - self.cross_mode = "DCS->Off" + self.cross_mode = "Tone->Tone" self.dtcs_polarity = "NN" self.skip = "" self.power = None diff -r a3d397d29b3c -r ad1cf47a0834 chirpui/memedit.py --- a/chirpui/memedit.py Fri Mar 30 16:20:10 2012 -0600 +++ b/chirpui/memedit.py Fri Mar 30 16:09:42 2012 -0700 @@ -88,7 +88,7 @@ _("ToneSql") : 88.5, _("DTCS Code") : 23, _("DTCS Pol") : "NN", - _("Cross Mode"): "DCS->Off", + _("Cross Mode"): "Tone->Tone", _("Duplex") : "", _("Offset") : 0, _("Mode") : "FM",