[chirp_devel] [PATCH] [wouxun] Add instructions for clone mode
Jim Unroe
Tue Oct 22 02:47:00 PDT 2013
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1382434973 14400
# Node ID 2978901201532250bc89dda2daa027e5d58bdc55
# Parent 72de80dd3e6b0d04baa7f02e5fbbd80dc63b0edc
[wouxun] Add instructions for clone mode
part of feature #1163
diff -r 72de80dd3e6b -r 297890120153 chirp/wouxun.py
--- a/chirp/wouxun.py Mon Oct 21 09:17:19 2013 +0200
+++ b/chirp/wouxun.py Tue Oct 22 05:42:53 2013 -0400
@@ -23,6 +23,7 @@
RadioSettingValueInteger, RadioSettingValueString, \
RadioSettingValueFloat
from chirp.wouxun_common import wipe_memory, do_download, do_upload
+from textwrap import dedent
FREQ_ENCODE_TABLE = [ 0x7, 0xa, 0x0, 0x9, 0xb, 0x2, 0xe, 0x1, 0x3, 0xf ]
@@ -119,6 +120,20 @@
'thing to do. However, modifications to this value may have '
'unintended consequences, including damage to your device. '
'You have been warned. Proceed at your own risk!')
+ rp.pre_download = _(dedent("""\
+ 1. Turn radio off.
+ 2. Connect cable to mic/spkr connector.
+ 3. Make sure connector is firmly connected.
+ 4. Turn radio on.
+ 5. Ensure that the radio is tuned to channel with no activity.
+ 6. Click OK to download image from device."""))
+ rp.pre_upload = _(dedent("""\
+ 1. Turn radio off.
+ 2. Connect cable to mic/spkr connector.
+ 3. Make sure connector is firmly connected.
+ 4. Turn radio on.
+ 5. Ensure that the radio is tuned to channel with no activity.
+ 6. Click OK to upload image to device."""))
return rp
@classmethod
More information about the chirp_devel
mailing list