[chirp_devel] [PATCH] [UV-5R] Incorrect Model Selected with GT-5TP

Jim Unroe
Sat Jan 26 16:00:32 PST 2019


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1548547164 18000
# Node ID da8679208b7f7748b9cbbe4a4ce9216deb798d68
# Parent  5e350aa3fedfe7d9ac4a3d4ee5503e1bf0cbc1fe
[UV-5R] Incorrect Model Selected with GT-5TP

Add detecton for a Baofeng UV-82HP variant (GT-5TP) which reports to
CHIRP that it is a UV-5R style radio.

Addresses bug #6403

diff -r 5e350aa3fedf -r da8679208b7f chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Sat Jan 19 15:39:01 2019 -0500
+++ b/chirp/drivers/uv5r.py	Sat Jan 26 18:59:24 2019 -0500
@@ -287,7 +287,7 @@
 BASETYPE_UV6 = ["BF1", "UV6"]
 BASETYPE_KT980HP = ["BFP3V3 B"]
 BASETYPE_F8HP = ["BFP3V3 F", "N5R-3", "N5R3", "F5R3", "BFT"]
-BASETYPE_UV82HP = ["N82-3", "N823"]
+BASETYPE_UV82HP = ["N82-3", "N823", "N5R2"]
 BASETYPE_LIST = BASETYPE_UV5R + BASETYPE_F11 + BASETYPE_UV82 + \
     BASETYPE_BJ55 + BASETYPE_UV6 + BASETYPE_KT980HP + \
     BASETYPE_F8HP + BASETYPE_UV82HP



More information about the chirp_devel mailing list