From 84c9105afa132e779506d8ac01234c13b5cfb602 Mon Sep 17 00:00:00 2001 From: Joseph Scanlan Date: Mon, 16 Sep 2024 16:16:53 -0700 Subject: [PATCH] ft8100: Changed upload and downlod prompt Added classmethod get_prompts to give upload and download instructions specific to the FT-8100. --- chirp/drivers/ft8100.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/chirp/drivers/ft8100.py b/chirp/drivers/ft8100.py index ad5f4a174..26f864977 100644 --- a/chirp/drivers/ft8100.py +++ b/chirp/drivers/ft8100.py @@ -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. After clicking OK, 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