[chirp_devel] [PATCH] [UV-B6] Add * and # as valid DTMF characters for PTT-ID
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1387328402 18000 # Node ID 66030b3c2f3dae41b6e77c0ed23b6b108a233cc8 # Parent 5405a514d7d7f7d5f3baae988d734e8c0385879d [UV-B6] Add * and # as valid DTMF characters for PTT-ID bug #1309
diff -r 5405a514d7d7 -r 66030b3c2f3d chirp/uvb5.py --- a/chirp/uvb5.py Tue Dec 10 18:16:04 2013 -0800 +++ b/chirp/uvb5.py Tue Dec 17 20:00:02 2013 -0500 @@ -513,7 +513,7 @@ options[self._memobj.settings.pttid])) basic.append(rs)
- dtmfchars = "0123456789ABCD" + dtmfchars = "0123456789ABCD*#" _codeobj = self._memobj.pttid.code _code = "".join([dtmfchars[x] for x in _codeobj if int(x) < 0x1F]) val = RadioSettingValueString(0, 6, _code, False)
participants (1)
-
Jim Unroe