[chirp_devel] [PATCH] [UV-82HP] Add Detection for New Firmware Variation (part 2)
Jim Unroe
Tue Dec 3 10:44:22 PST 2019
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1575397833 18000
# Node ID 08f9cc4320194da261c9b804b943accc9428fc8f
# Parent c9c97668945488ab558494b0ed8b05403a1b4f2e
[UV-82HP] Add Detection for New Firmware Variation (part 2)
The previous patch only added detection when loading a saved image.
This patch adds detection when cloning from the radio.
#7295
diff -r c9c976689454 -r 08f9cc432019 chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py Fri Nov 22 06:58:54 2019 -0800
+++ b/chirp/drivers/uv5r.py Tue Dec 03 13:30:33 2019 -0500
@@ -553,7 +553,7 @@
# then append that model type to the end of the image so it can
# be properly detected when loaded.
append_model = True
- elif "\xFF" * 14 in radio_version:
+ elif "\xFF" * 7 in radio_version:
# A radio UV-5R style radio that reports no firmware version has
# been detected.
# We are going to count on the user to make the right choice and
More information about the chirp_devel
mailing list