[chirp_devel] [PATCH 1 of 2] [px777] add - and space characters. Fixes #364

Tom Hayward
Sun Jul 14 23:43:09 PDT 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1373870543 25200
# Node ID 3f3d39f2cd381abb010ffa9ea10c3181287521d0
# Parent  8a1ea9ddb05ae8e1ce19269fa9c9643578e61872
[px777] add - and space characters. Fixes #364

diff -r 8a1ea9ddb05a -r 3f3d39f2cd38 chirp/puxing.py
--- a/chirp/puxing.py	Tue Jul 09 22:13:52 2013 -0400
+++ b/chirp/puxing.py	Sun Jul 14 23:42:23 2013 -0700
@@ -159,7 +159,7 @@
         rf.valid_tmodes = ["", "Tone", "TSQL", "DTCS"]
         rf.valid_modes = ["FM", "NFM"]
         rf.valid_power_levels = POWER_LEVELS
-        rf.valid_characters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+        rf.valid_characters = ''.join(set(PUXING_CHARSET))
         rf.valid_name_length = 6
         rf.has_ctone = False
         rf.has_tuning_step = False



More information about the chirp_devel mailing list