[chirp_devel] [PATCH] [UV-5R] Move Baofeng BF-A58 Support to the correct model

Jim Unroe
Sat Aug 8 04:52:02 PDT 2015


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1439034482 14400
# Node ID 21110af52b1cf35d460d560c880ec2462d77f950
# Parent  a4eba5650b19692607ddb3cb3561a3d8acfe69ba
[UV-5R] Move Baofeng BF-A58 Support to the correct model

When it was discovered that the BF-A58 radio had 3 power levels,
the "ident" was mistakenly moved to the Intek KT-980HP model.

This patch moves it to the Baofeng BF-F8HP model.

Related to #2261

diff -r a4eba5650b19 -r 21110af52b1c chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Wed Jul 01 10:14:53 2015 -0700
+++ b/chirp/drivers/uv5r.py	Sat Aug 08 07:48:02 2015 -0400
@@ -1652,9 +1652,7 @@
     VENDOR = "Intek"
     MODEL = "KT-980HP"
     _basetype = BASETYPE_KT980HP
-    _idents = [UV5R_MODEL_291,
-               UV5R_MODEL_A58
-               ]
+    _idents = [UV5R_MODEL_291]
     _vhf_range = (130000000, 180000000)
     _uhf_range = (400000000, 521000000)
 
@@ -1673,7 +1671,9 @@
     VENDOR = "Baofeng"
     MODEL = "BF-F8HP"
     _basetype = BASETYPE_F8HP
-    _idents = [UV5R_MODEL_291]
+    _idents = [UV5R_MODEL_291,
+               UV5R_MODEL_A58
+               ]
     _vhf_range = (130000000, 180000000)
     _uhf_range = (400000000, 521000000)
 



More information about the chirp_devel mailing list