# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1547930341 18000 # Node ID 5e350aa3fedfe7d9ac4a3d4ee5503e1bf0cbc1fe # Parent a31788e41805bda70f1287db1accf1e7f7da541b [UV-5R] Incorrect Model Selected with UV-5R
Add detecton for new Baofeng UV-5R firmware version string.
Addresses bug #6379
diff -r a31788e41805 -r 5e350aa3fedf chirp/drivers/uv5r.py --- a/chirp/drivers/uv5r.py Fri Jan 11 06:58:14 2019 -0800 +++ b/chirp/drivers/uv5r.py Sat Jan 19 15:39:01 2019 -0500 @@ -280,7 +280,7 @@
vhf_220_radio = "\x02"
-BASETYPE_UV5R = ["BFS", "BFB", "N5R-2", "N5R2", "N5RV", "BTS", "D5R2"] +BASETYPE_UV5R = ["BFS", "BFB", "N5R-2", "N5R2", "N5RV", "BTS", "D5R2", "B5R2"] BASETYPE_F11 = ["USA"] BASETYPE_UV82 = ["US2S2", "B82S", "BF82", "N82-2", "N822"] BASETYPE_BJ55 = ["BJ55"] # needed for for the Baojie UV-55 in bjuv55.py