ft8100: Changed upload and download prompt

Added classmethod get_prompts to give upload and download
instructions specific to the FT-8100.
This commit is contained in:
Joseph Scanlan 2024-09-16 16:16:53 -07:00 committed by Dan Smith
parent 2d4672af6f
commit dbede58386

View File

@ -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