Skip to content

Commit

Permalink
Add MaxTalker TK-6 and MT-8S aliases
Browse files Browse the repository at this point in the history
Fixes #11531
Fixes #11530
  • Loading branch information
kk7ds committed Sep 9, 2024
1 parent f9f5afa commit dbfaad6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions chirp/drivers/h777.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,19 @@ def match_model(cls, filedata, filename):
return False


@directory.register
class MT8SRadio(H777Radio):
VENDOR = "MaxTalker"
MODEL = "MT-8S"
ALIASES = []
_has_fm = False

@classmethod
def match_model(cls, filedata, filename):
# This model is only ever matched via metadata
return False


@directory.register
class BF1901Radio(H777Radio):
VENDOR = "Baofeng"
Expand Down
6 changes: 6 additions & 0 deletions chirp/drivers/uvk5.py
Original file line number Diff line number Diff line change
Expand Up @@ -2064,6 +2064,12 @@ class RA79Radio(UVK5Radio):
MODEL = "RA79"


@directory.register
class MaxTalkerTK6(UVK5Radio):
VENDOR = "MaxTalker"
MODEL = "TK-6"


@directory.register
@directory.detected_by(UVK5Radio)
class UVK5RestrictedRadio(UVK5RadioBase):
Expand Down

0 comments on commit dbfaad6

Please sign in to comment.