[chirp_devel] [PATCH 6 of 6] [ft1802] Add instructions for clone mode. #1163

Tom Hayward
Tue Oct 8 13:29:49 PDT 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1381264011 25200
# Node ID 355db7a469386daed17738a2955ed5653eae9e39
# Parent  677a4172a8cbddeac8097a023d5ea4c5d899dacc
[ft1802] Add instructions for clone mode. #1163

diff -r 677a4172a8cb -r 355db7a46938 chirp/ft1802.py
--- a/chirp/ft1802.py	Tue Oct 08 13:26:50 2013 -0700
+++ b/chirp/ft1802.py	Tue Oct 08 13:26:51 2013 -0700
@@ -26,6 +26,7 @@
 from chirp import chirp_common, bitwise, directory, yaesu_clone
 from chirp.settings import RadioSetting, RadioSettingGroup, \
     RadioSettingValueBoolean
+from textwrap import dedent
 
 MEM_FORMAT = """
 #seekto 0x06ea;
@@ -88,6 +89,21 @@
     _block_lengths = [10, 8001]
     _memsize = 8011
 
+    @classmethod
+    def get_prompts(cls):
+        rp = chirp_common.RadioPrompts()
+        rp.pre_download = _(dedent("""\
+            1. Turn radio off.
+            2. Connect cable to mic jack.
+            3. Press and hold in the [LOW(A/N)] key while turning the radio on.
+            4. <b>After clicking OK</b>, press the [MHz(SET)] key to send image."""))
+        rp.pre_upload = _(dedent("""\
+            1. Turn radio off.
+            2. Connect cable to mic jack.
+            3. Press and hold in the [LOW(A/N)] key while turning the radio on.
+            4. Press the [D/MR(MW)] key ("--WAIT--" will appear on the LCD)."""))
+        return rp
+
     def get_features(self):
         rf = chirp_common.RadioFeatures()
 



More information about the chirp_devel mailing list