Skip to content

Commit

Permalink
ft8100: Changed upload and downlod prompt
Browse files Browse the repository at this point in the history
Added classmethod get_prompts to give upload and download
instructions specific to the FT-8100.
  • Loading branch information
N7XSD committed Sep 16, 2024
1 parent 249da4a commit 84c9105
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions chirp/drivers/ft8100.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@ class FT8100Radio(yaesu_clone.YaesuCloneModeRadio):
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1]

@classmethod
def get_prompts(cls):
rp = chirp_common.RadioPrompts()
rp.pre_download = _(
"1. Turn Radio off.\n"
"2. Connect data cable.\n"
"3. While holding \"F/W\" button, turn radio on.\n"
"4. <b>After clicking OK</b>, press \"RPT\" to send image.\n")
rp.pre_upload = _(
"1. Turn Radio off.\n"
"2. Connect data cable.\n"
"3. While holding \"F/W\" button, turn radio on.\n"
"4. Press \"REV\" to receive image.\n"
"5. Click OK to start transfer.\n")
return rp

@classmethod
def match_model(cls, data, path):
if (len(data) == cls._memsize and
Expand Down

0 comments on commit 84c9105

Please sign in to comment.