[chirp_devel] [PATCH] [UV-82HP] Add Detection for New Firmware Variation

Jim Unroe
Sun Nov 17 19:17:29 PST 2019


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1574046198 18000
# Node ID d000e39d54869da56fe92b9f76edbe9febc0f67e
# Parent  067b69c9b7d04d49462f390d99bc7f80c4b1b5d2
[UV-82HP] Add Detection for New Firmware Variation

This patch adds detection for newly discovered firmware version variation.

#7295

diff -r 067b69c9b7d0 -r d000e39d5486 chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Fri Nov 08 20:33:33 2019 -0500
+++ b/chirp/drivers/uv5r.py	Sun Nov 17 22:03:18 2019 -0500
@@ -634,7 +634,7 @@
         if image_version.startswith("HN5RV"):
             ranges_main = _ranges_main_default
             ranges_aux = _ranges_aux_default + _ranges_aux_extra
-        elif image_version == 0xFF * 14:
+        elif image_version == 0xFF * 7:
             ranges_main = _ranges_main_default
             ranges_aux = _ranges_aux_default + _ranges_aux_extra
         else:



More information about the chirp_devel mailing list