[chirp_devel] [PATCH] [UV-5R] Support BF-A58 as Radio With 3 Power Levels

Jim Unroe
Tue Jun 16 18:44:32 PDT 2015


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1434505404 14400
# Node ID 317f6ec67709dc4a552dbfe09d1c2cd6e3fb916f
# Parent  8f6c1c05e6149d63a3cf4bc7c76bfab032caae49
[UV-5R] Support BF-A58 as Radio With 3 Power Levels

The initial support for the BF-A58 added it as a radio with only 2 power
levels. It has 3 power levels. This patch moves it to the group radios
having 3 power levels.

Note: This patch also requires removing "BFT" from the BASETYPE_UV5R
list and adding it to the BASETYPE_F8HP list. This was accidentally done
already in a patch that added UV-82HP support.

Related to  #2261

diff -r 8f6c1c05e614 -r 317f6ec67709 chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Mon Jun 15 12:35:53 2015 -0400
+++ b/chirp/drivers/uv5r.py	Tue Jun 16 21:43:24 2015 -0400
@@ -610,7 +610,6 @@
     _memsize = 0x1808
     _basetype = BASETYPE_UV5R
     _idents = [UV5R_MODEL_291,
-               UV5R_MODEL_A58,
                UV5R_MODEL_ORIG
                ]
     _vhf_range = (136000000, 174000000)
@@ -1652,7 +1651,9 @@
     VENDOR = "Intek"
     MODEL = "KT-980HP"
     _basetype = BASETYPE_KT980HP
-    _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