[chirp_devel] [PATCH] [uv-b5] Add Experimental Notice Regarding Test Mode Settings
Jim Unroe
Tue Oct 22 03:13:46 PDT 2013
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1382436641 14400
# Node ID 0f1ed6345ad8906fa75cafdb30c0cb6005b113bc
# Parent 72de80dd3e6b0d04baa7f02e5fbbd80dc63b0edc
[uv-b5] Add Experimental Notice Regarding Test Mode Settings
related to feature #1123
diff -r 72de80dd3e6b -r 0f1ed6345ad8 chirp/uvb5.py
--- a/chirp/uvb5.py Mon Oct 21 09:17:19 2013 +0200
+++ b/chirp/uvb5.py Tue Oct 22 06:10:41 2013 -0400
@@ -226,7 +226,8 @@
chirp_common.PowerLevel("High", watts=5)]
@directory.register
-class BaofengUVB5(chirp_common.CloneModeRadio):
+class BaofengUVB5(chirp_common.CloneModeRadio,
+ chirp_common.ExperimentalRadio):
"""Baofeng UV-B5"""
VENDOR = "Baofeng"
MODEL = "UV-B5"
@@ -237,6 +238,12 @@
@classmethod
def get_prompts(cls):
rp = chirp_common.RadioPrompts()
+ rp.experimental = ('This version of the UV-B5 driver allows you to '
+ 'modify the Test Mode settings of your radio. This has been '
+ 'tested and reports from other users indicate that it is a '
+ 'safe thing to do. However, modifications to these values 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.
More information about the chirp_devel
mailing list