# HG changeset patch # User Marco Filippi iz3gme.marco@gmail.com # Date 1381319245 -7200 # Node ID 8a5b021abf99ca5889d532863e0e3a73d85630b6 # Parent fef15d9154725c6203ec6548d012945ca4dbb0a3 [vx6] Add instructions for clone mode part of feature #1163
diff --git a/chirp/vx6.py b/chirp/vx6.py --- a/chirp/vx6.py +++ b/chirp/vx6.py @@ -15,6 +15,7 @@
from chirp import chirp_common, yaesu_clone, directory from chirp import bitwise +from textwrap import dedent
# flags.{even|odd}_pskip: These are actually "preferential *scan* channels". # Is that what they mean on other radios as well? @@ -117,6 +118,23 @@ _block_lengths = [10, 32578] _block_size = 16
+ @classmethod + def get_prompts(cls): + rp = chirp_common.RadioPrompts() + rp.pre_download = _(dedent("""\ + 1. Turn radio off. + 2. Connect cable to MIC/SP jack. + 3. Press and hold in the [F/W] key while turning the radio on + ("CLONE" will appear on the display). + 4. <b>After clicking OK</b>, press the [BAND] key to send image.""")) + rp.pre_upload = _(dedent("""\ + 1. Turn radio off. + 2. Connect cable to MIC/SP jack. + 3. Press and hold in the [F/W] key while turning the radio on + ("CLONE" will appear on the display). + 4. Press the [V/M] key ("-WAIT-" will appear on the LCD).""")) + return rp + def _checksums(self): return [ yaesu_clone.YaesuChecksum(0x0000, 0x7F49) ]