[chirp_devel] [Yaesu FT-4, FT-65, FT-25] Sometimes channel names are not displayed correctly
Bernhard Hailer
Sat Jan 25 19:32:39 PST 2020
# HG changeset patch
# Parent 2e2a687a26517de7f015cb95976ec01d28153a68
[Yaesu FT-4, FT-65, FT-25] Sometimes channel names are not displayed
correctly
When user was programs radio manually and was adding a name shorter than
8 characters, the remaining characters were filled with garbage on the
Chirp UI. The reason was that the radio pads remaining characters with
0x7F, but Chirp wants to see 0x20.
73
Bernhard AE6YN
Fixes: #7601
diff --git a/chirp/drivers/ft4.py b/chirp/drivers/ft4.py
--- a/chirp/drivers/ft4.py
+++ b/chirp/drivers/ft4.py
@@ -1029,6 +1029,8 @@
y = obj[x]
if y == 0:
break
+ if y == 0x7F: # when programmed from VFO
+ y = 0x20
name += chr(y)
return name.rstrip()
More information about the chirp_devel
mailing list