[chirp_devel] [PATCH 2 of 2] [KG-UVD1P KG-UV6] Add experimental warning for freq ranges write
Marco Filippi IZ3GME
Fri Nov 2 05:47:07 PDT 2012
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1351860021 -3600
# Node ID 454f86d3dff21208e2e2eec1286e4a2349a2ad95
# Parent 17c395df835a5e2fa88574cbeab7df2431237e06
[KG-UVD1P KG-UV6] Add experimental warning for freq ranges write
Feature #285
diff -r 17c395df835a -r 454f86d3dff2 chirp/wouxun.py
--- a/chirp/wouxun.py ven nov 02 13:25:17 2012 +0100
+++ b/chirp/wouxun.py ven nov 02 13:40:21 2012 +0100
@@ -51,7 +51,8 @@
return freq
@directory.register
-class KGUVD1PRadio(chirp_common.CloneModeRadio):
+class KGUVD1PRadio(chirp_common.CloneModeRadio,
+ chirp_common.ExperimentalRadio):
"""Wouxun KG-UVD1P,UV2,UV3"""
VENDOR = "Wouxun"
MODEL = "KG-UVD1P"
@@ -112,6 +113,13 @@
} names[199];
"""
+ @classmethod
+ def get_experimental_warning(cls):
+ return ('This version of the Vouxun driver allow to write on frequency'
+ ' ranges, it has been tested and reports says it works but '
+ ' writing bad values there can potentially brick your radio. '
+ ' You have been warned, proceed at your own risk!')
+
def _identify(self):
"""Do the original wouxun identification dance"""
for _i in range(0, 5):
More information about the chirp_devel
mailing list