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

Tom Hayward
Sun Dec 16 17:02:06 PST 2012


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1355706094 28800
# Node ID d433080159a115ac023b083bf469c437534b25f1
# Parent  2fe6ec6bf7bc5add754476e9dfd4eea5aec6d5da
[px777] add - and space characters. Fixes #364

diff -r 2fe6ec6bf7bc -r d433080159a1 chirp/puxing.py
--- a/chirp/puxing.py	Sun Dec 16 17:00:45 2012 -0800
+++ b/chirp/puxing.py	Sun Dec 16 17:01:34 2012 -0800
@@ -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 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ- "
         rf.valid_name_length = 6
         rf.has_ctone = False
         rf.has_tuning_step = False



More information about the chirp_devel mailing list