# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1602445166 14400 # Sun Oct 11 15:39:26 2020 -0400 # Node ID 98b8a850b0f136c77fe09a4922c32a2a28f708be # Parent 597332505d7a1333f4bc044585dce2efc38bb231 [UV-5R] Tenway UV-5R Pro Tri-Power Support
This patch moves the Tenway UV-5R Pro alias from UV-5R to BF-F8HP in order to pick up the appropriate support for 3 power levels.
fixes #8185
diff -r 597332505d7a -r 98b8a850b0f1 chirp/drivers/uv5r.py --- a/chirp/drivers/uv5r.py Sat Sep 26 17:47:05 2020 -0400 +++ b/chirp/drivers/uv5r.py Sun Oct 11 15:39:26 2020 -0400 @@ -1768,15 +1768,10 @@ MODEL = "A-5R"
-class TenwayUV5RPro(chirp_common.Alias): - VENDOR = 'Tenway' - MODEL = 'UV-5R Pro' - - @directory.register class BaofengUV5RGeneric(BaofengUV5R): ALIASES = [UV5XAlias, RT5RAlias, RT5RVAlias, RT5Alias, RH5RAlias, - ROUV5REXAlias, A5RAlias, TenwayUV5RPro] + ROUV5REXAlias, A5RAlias]
@directory.register @@ -1888,11 +1883,17 @@ MODEL = "TI-F8+"
+class TenwayUV5RPro(chirp_common.Alias): + VENDOR = 'Tenway' + MODEL = 'UV-5R Pro' + + @directory.register class BaofengBFF8HPRadio(BaofengUV5R): VENDOR = "Baofeng" MODEL = "BF-F8HP" - ALIASES = [RT5_TPAlias, ROGA5SAlias, UV5XPAlias, TSTIF8Alias] + ALIASES = [RT5_TPAlias, ROGA5SAlias, UV5XPAlias, TSTIF8Alias, + TenwayUV5RPro] _basetype = BASETYPE_F8HP _idents = [UV5R_MODEL_291, UV5R_MODEL_A58