Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added alias UV-5R 8W Tripower #1222

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion chirp/drivers/uv5r.py
Original file line number Diff line number Diff line change
Expand Up @@ -2025,12 +2025,16 @@ class TDUV5RRadio(chirp_common.Alias):
MODEL = "TD-UV5R TriPower"


class UV5R8WTri(chirp_common.Alias):
VENDOR = "Baofeng"
MODEL = "UV-5R 8W TriPower"

@directory.register
class BaofengBFF8HPRadio(BaofengUV5R):
VENDOR = "Baofeng"
MODEL = "BF-F8HP"
ALIASES = [RT5_TPAlias, ROGA5SAlias, UV5XPAlias, TSTIF8Alias,
TenwayUV5RPro, TSTST9Alias, TDUV5RRadio]
TenwayUV5RPro, TSTST9Alias, TDUV5RRadio, UV5R8WTri]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the old way to do in-app aliases, which is not how they should be done anymore (I need to update the developer docs probably).

However, if this is just a straight "choose X instead of Y" as it seems from your posts on the matter, please do this in chirp/share/model_alias_map.yaml which affects the website list only.

_basetype = BASETYPE_F8HP
_idents = [UV5R_MODEL_291,
UV5R_MODEL_A58
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
wxPython>=4.0,<4.2.0 ; platform_system=="Linux" # See https://github.com/wxWidgets/Phoenix/issues/2225
wxPython==4.2.0 ; platform_system!="Linux"
wxPython==4.2.2 ; platform_system!="Linux"
pyserial
requests
pywin32; platform_system=="Windows"
Expand Down
Loading