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

Tom Hayward
Tue Oct 8 11:31:32 PDT 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1381256350 25200
# Node ID 961513dadc611d01f62ce459850b0c8d6ea55ae7
# Parent  10b5cfa342621b9094f2079a3ac559c0827a3947
[ft1802] Add instructions for clone mode. #1163

diff -r 10b5cfa34262 -r 961513dadc61 chirp/ft1802.py
--- a/chirp/ft1802.py	Tue Oct 08 11:13:14 2013 -0700
+++ b/chirp/ft1802.py	Tue Oct 08 11:19:10 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,22 @@
     _block_lengths = [10, 8001]
     _memsize = 8011
 
+    @classmethod
+    def get_download_instructions(self):
+        return _(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."""))
+
+    @classmethod
+    def get_upload_instructions(self):
+        return _(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)."""))
+
     def get_features(self):
         rf = chirp_common.RadioFeatures()
 



More information about the chirp_devel mailing list