Skip to content

Commit

Permalink
RT490: Add supported charset - Fixes #11020 - Fixes #11309
Browse files Browse the repository at this point in the history
Added additional characters supported by the RT-490 display.
  • Loading branch information
pbarrette authored and kk7ds committed Aug 20, 2024
1 parent a8cdf67 commit 17bfbf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chirp/drivers/radtel_rt490.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 17bfbf1

Please sign in to comment.