[chirp_devel] [PATCH 5 of 5] [ft857] Add instructions for clone mode
Marco Filippi IZ3GME
Wed Oct 9 02:22:46 PDT 2013
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1381310443 -7200
# Node ID fdecd9d7b1e72bc98b7677be871fc9f41320345d
# Parent ac46d408eea8615a13c837fe98ce03309c658d7f
[ft857] Add instructions for clone mode
part of feature #1163
diff --git a/chirp/ft857.py b/chirp/ft857.py
--- a/chirp/ft857.py
+++ b/chirp/ft857.py
@@ -21,6 +21,7 @@
RadioSettingValueInteger, RadioSettingValueList, \
RadioSettingValueBoolean, RadioSettingValueString
import os
+from textwrap import dedent
@directory.register
class FT857Radio(ft817.FT817Radio):
@@ -412,6 +413,25 @@
"91:XVTR SEL",
"MONI", "Q.SPL", "TCALL", "ATC", "USER"]
+ @classmethod
+ def get_prompts(cls):
+ rp = chirp_common.RadioPrompts()
+ rp.pre_download = _(dedent("""\
+ 1. Turn radio off.
+ 2. Connect cable to CAT/LINEAR jack.
+ 3. Press and hold in the [MODE <] and [MODE >] keys while
+ turning the radio on ("CLONE MODE" will appear on the
+ display).
+ 4. <b>After clicking OK</b>, press the [C](SEND) key to send image."""))
+ rp.pre_upload = _(dedent("""\
+ 1. Turn radio off.
+ 2. Connect cable to ACC jack.
+ 3. Press and hold in the [MODE <] and [MODE >] keys while
+ turning the radio on ("CLONE MODE" will appear on the
+ display).
+ 4. Press the [A](RCV) key ("receiving" will appear on the LCD)."""))
+ return rp
+
def get_features(self):
rf = ft817.FT817Radio.get_features(self)
rf.has_cross = True
More information about the chirp_devel
mailing list