[chirp_devel] [PATCH 3 of 6] [uv5r] Update experimental warning to use RadioPrompts. #1163

Tom Hayward
Tue Oct 8 13:29:46 PDT 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1381264009 25200
# Node ID e5907751a6a62ca157fbb95067995db6320b7e30
# Parent  17aa6b70b1b31926157becda152e2afd652d3b21
[uv5r] Update experimental warning to use RadioPrompts. #1163

diff -r 17aa6b70b1b3 -r e5907751a6a6 chirp/uv5r.py
--- a/chirp/uv5r.py	Tue Oct 08 13:26:47 2013 -0700
+++ b/chirp/uv5r.py	Tue Oct 08 13:26:49 2013 -0700
@@ -475,13 +475,15 @@
                ]
 
     @classmethod
-    def get_experimental_warning(cls):
-        return ('Due to the fact that the manufacturer continues to '
+    def get_prompts(cls):
+        rp = chirp_common.RadioPrompts()
+        rp.experimental = ('Due to the fact that the manufacturer continues to '
                 'release new versions of the firmware with obscure and '
                 'hard-to-track changes, this driver may not work with '
                 'your device. Thus far and to the best knowledge of the '
                 'author, no UV-5R radios have been harmed by using CHIRP. '
                 'However, proceed at your own risk!')
+        return rp
 
     def get_features(self):
         rf = chirp_common.RadioFeatures()



More information about the chirp_devel mailing list