[chirp_devel] TYT TH-UV8000 Issue #8339
Rick (AA0RD) DeWitt
Mon Dec 21 15:00:13 PST 2020
Patch for TYT TH-UV8000D/E fixing issue #8339, priority scan channel OFF.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20201221/b3ed2a90/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature-RIck-AA0RD-Image.jpg
Type: image/jpeg
Size: 18469 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20201221/b3ed2a90/attachment-0001.jpg
-------------- next part --------------
# HG changeset patch
# User Rick DeWitt <aa0rd at yahoo.com>
# Date 1608591261 28800
# Mon Dec 21 14:54:21 2020 -0800
# Node ID 2c5859e0e3ad2d851d700d14f63656433a3574ae
# Parent 52a228182876f1d79d11684d00f9c5dffd503c6c
[th_uv8000] Allow scan priority channel 0 (OFF). Issue #8339
diff -r 52a228182876 -r 2c5859e0e3ad chirp/drivers/th_uv8000.py
--- a/chirp/drivers/th_uv8000.py Sun Dec 20 14:55:58 2020 -0800
+++ b/chirp/drivers/th_uv8000.py Mon Dec 21 14:54:21 2020 -0800
@@ -1,5 +1,6 @@
# Copyright 2019: Rick DeWitt (RJD), <aa0rd at yahoo.com>
# Version 1.0 for TYT-UV8000D/E
+# 1.1 Fixes issue #8339, Priority chan OFF (0)
# Thanks to Damon Schaefer (K9CQB) and the Loudoun County, VA ARES
# club for the donated radio.
# And thanks to Ian Harris (VA3IHX) for decoding the memory map.
@@ -1250,10 +1251,8 @@
scn.append(rset)
val = _sets.prichan
- if val <= 0:
- val = 1
- rx = RadioSettingValueInteger(1, 128, val)
- rset = RadioSetting("setstuf.prichan", "Priority Channel", rx)
+ rx = RadioSettingValueInteger(0, 128, val)
+ rset = RadioSetting("setstuf.prichan", "Priority Channel (0:Off)", rx)
scn.append(rset)
# FM Broadcast Settings
More information about the chirp_devel
mailing list