From b1e0d597a862767d3ae8e0b7f72da7e74f8aa69e Mon Sep 17 00:00:00 2001 From: pbarrette Date: Thu, 15 Aug 2024 23:14:23 -0500 Subject: [PATCH] RT490: Add supported charset - Fixes #11020 - Fixes #11309 Added additional characters supported by the RT-490 display. --- chirp/drivers/radtel_rt490.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chirp/drivers/radtel_rt490.py b/chirp/drivers/radtel_rt490.py index 015f7eba6..9059a1a1d 100644 --- a/chirp/drivers/radtel_rt490.py +++ b/chirp/drivers/radtel_rt490.py @@ -421,6 +421,9 @@ class RT490Radio(chirp_common.CloneModeRadio): (0x3FC0, 0x4000) ] + _valid_chars = chirp_common.CHARSET_ALPHANUMERIC + \ + "`~!@#$%^&*()-=_+[]\\{}|;':\",./<>?" + if RT490_EXPERIMENTAL: # Experimental driver (already heavily tested) _ranges = [(0x0000, 0x2400), (0x3400, 0x3C40), (0x3F80, 0x4000)] @@ -1298,6 +1301,7 @@ def get_features(self): # GOOD ? rf.can_odd_split = True rf.has_name = True rf.valid_name_length = 12 + rf.valid_characters = self._valid_chars rf.valid_skips = ["", "S"] rf.valid_tmodes = ["", "Tone", "TSQL", "DTCS", "Cross"] rf.valid_cross_modes = ["Tone->Tone", "DTCS->", "->DTCS", "Tone->DTCS",