From 9f09aeeaef32a1e88551ec678c7a30449e9532a1 Mon Sep 17 00:00:00 2001 From: Joseph Scanlan Date: Wed, 11 Sep 2024 16:56:50 -0700 Subject: [PATCH] ft8100: Changed upload and downlod prompts 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..7adf5a9b7 100644 --- a/chirp/drivers/ft8100.py +++ b/chirp/drivers/ft8100.py @@ -95,6 +95,22 @@ def match_model(cls, data, path): return False + @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 + def get_features(self): rf = chirp_common.RadioFeatures() rf.memory_bounds = (1, 99)