[chirp_devel] [PATCH 2 of 2] [ft857] replace char we do not support in labels with *

Marco Filippi IZ3GME
Sun May 12 11:53:35 PDT 2013


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1368383834 -7200
# Node ID d8fb83898f89108551d6b2ad62da25eb739395ff
# Parent  45b55e192e7394c347e8361d860db4e1f6f62094
[ft857] replace char we do not support in labels with *
fix #857

diff -r 45b55e192e73 -r d8fb83898f89 chirp/ft857.py
--- a/chirp/ft857.py	dom mag 12 20:37:12 2013 +0200
+++ b/chirp/ft857.py	dom mag 12 20:37:14 2013 +0200
@@ -60,6 +60,10 @@
                    (76000000, 108000000), (108000000, 137000000),
                    (137000000, 164000000), (420000000, 470000000)]
 
+    CHARSET = list(chirp_common.CHARSET_ASCII)
+    for i in "\\{|}":
+        CHARSET.remove(i)
+
     MEM_FORMAT = """
         struct mem_struct{
         u8   tag_on_off:1,



More information about the chirp_devel mailing list