[chirp_devel] [PATCH] [UV-5R] Add Support for Retevis RT-5R
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1473377410 14400 # Node ID 06056e98cbc6c400dbb8749398eff627449f1a23 # Parent 0713e77f8ee3abfaad6ced14e646b7efe0a9eed3 [UV-5R] Add Support for Retevis RT-5R
This patch adds support for the Retevis RT-5R by adding an alias to the UV-5R.
#4005
diff -r 0713e77f8ee3 -r 06056e98cbc6 chirp/drivers/uv5r.py --- a/chirp/drivers/uv5r.py Thu Sep 08 13:14:31 2016 -0400 +++ b/chirp/drivers/uv5r.py Thu Sep 08 19:30:10 2016 -0400 @@ -1605,9 +1605,14 @@ MODEL = "UV-5X"
+class RT5RAlias(chirp_common.Alias): + VENDOR = "Retevis" + MODEL = "RT-5R" + + @directory.register class BaofengUV5RGeneric(BaofengUV5R): - ALIASES = [UV5XAlias] + ALIASES = [UV5XAlias, RT5RAlias]
@directory.register
participants (1)
-
Jim Unroe