[chirp_devel] [PATCH] [BF-F8HP] Add Support for N5R3401 Firmware
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1416859858 18000 # Node ID 18634f0f965e3965dbd1d59a03fd929f3b22d1e3 # Parent d3f3ad0c14a13c5055845a7712af4f231f70490a [BF-F8HP] Add Support for N5R3401 Firmware
Add support for a BF-F8HP having N5R3401/F8HP-1 firmware.
Bug #2071
diff -r d3f3ad0c14a1 -r 18634f0f965e chirp/uv5r.py --- a/chirp/uv5r.py Mon Nov 17 21:24:37 2014 -0500 +++ b/chirp/uv5r.py Mon Nov 24 15:10:58 2014 -0500 @@ -258,7 +258,7 @@ BASETYPE_BJ55 = ["BJ55"] # needed for for the Baojie UV-55 in bjuv55.py BASETYPE_UV6 = ["BF1"] BASETYPE_KT980HP = ["BFP3V3 B"] -BASETYPE_F8HP = ["BFP3V3 F", "N5R-3"] +BASETYPE_F8HP = ["BFP3V3 F", "N5R-3", "N5R3"] BASETYPE_LIST = BASETYPE_UV5R + BASETYPE_F11 + BASETYPE_UV82 + \ BASETYPE_BJ55 + BASETYPE_UV6 + BASETYPE_KT980HP + \ BASETYPE_F8HP @@ -936,6 +936,9 @@ elif 'N5R-3' in version_tag: idx = version_tag.index("N5R-3") + 4 return int(version_tag[idx:idx + 2]) + 98000 + elif 'N5R3' in version_tag: + idx = version_tag.index("N5R3") + 4 + return int(version_tag[idx:idx + 3]) + 98000 elif 'BFB' in version_tag: idx = version_tag.index("BFB") + 3 return int(version_tag[idx:idx + 3])
participants (1)
-
Jim Unroe