[chirp_devel] [PATCH] [UV-6R] Adjust Channel Name Length
Jim Unroe
Fri Aug 19 14:14:55 PDT 2016
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1471640983 14400
# Node ID 12ac740220c59eae761287076df64265c3281a8c
# Parent e4a3c048aacb27e5ded471e3ac6c1c83f85fd26d
[UV-6R] Adjust Channel Name Length
Most other Baofeng radios of this type support 7 character channel
names. It was reported that the UV-6R only supports 6 chararacter
channel names. This patch adjusts the name length to 6 characters.
related to #2761
diff -r e4a3c048aacb -r 12ac740220c5 chirp/drivers/uv6r.py
--- a/chirp/drivers/uv6r.py Fri Aug 19 16:50:57 2016 -0400
+++ b/chirp/drivers/uv6r.py Fri Aug 19 17:09:43 2016 -0400
@@ -114,7 +114,7 @@
MODES = ["FM", "NFM"]
VALID_CHARS = chirp_common.CHARSET_ALPHANUMERIC + \
"!@#$%^&*()+-=[]:\";'<>?,./"
- LENGTH_NAME = 7
+ LENGTH_NAME = 6
SKIP_VALUES = ["", "S"]
DTCS_CODES = sorted(chirp_common.DTCS_CODES + [645])
POWER_LEVELS = [chirp_common.PowerLevel("High", watts=5.00),
@@ -281,8 +281,8 @@
#seekto 0x1000;
struct {
- char name[7];
- u8 unknown[9];
+ char name[6];
+ u8 unknown[10];
} names[128];
#seekto 0x1F40;
More information about the chirp_devel
mailing list