# HG changeset patch # User Tom Hayward tom@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()