[chirp_devel] Issue 8183 bug fix

Rick (AA0RD) DeWitt
Mon Aug 17 08:49:08 PDT 2020


Attached patch addresses issue #8183; APO = 0 settings range error.

-- 
Rick DeWitt
AA0RD
Sequim, Washington, USA 98382
(360) 681-3494

-------------- next part --------------
# HG changeset patch
# User Rick DeWitt <aa0rd at yahoo.com>
# Date 1597678952 25200
#      Mon Aug 17 08:42:32 2020 -0700
# Node ID 0c9f2213c44e2d2c81f6a7b146f09f1113f7dde3
# Parent  2c552ce0d1a8f59b1ace34da171d7a48450848ac
[FT-450D] Fix for issue #8183, invalid APO value for off

diff -r 2c552ce0d1a8 -r 0c9f2213c44e chirp/drivers/ft450d.py
--- a/chirp/drivers/ft450d.py	Thu Aug 06 11:15:38 2020 -0700
+++ b/chirp/drivers/ft450d.py	Mon Aug 17 08:42:32 2020 -0700
@@ -1,4 +1,5 @@
 # Copyright 2018 by Rick DeWitt (aa0rd at yahoo.com>
+# Bug fix for issue #8183, invalid APO Off value
 # Thanks to Filippi Marco <iz3gme.marco at gmail.com> for Yaesu processes
 #
 # This program is free software: you can redistribute it and/or modify
@@ -1007,9 +1008,9 @@
                           RadioSettingValueBoolean(_settings.ext_mnu))
         rs.set_doc("Enables access to extended settings in the radio")
         tab.append(rs)
-
+        # Issue #8183 bugfix
         rs = RadioSetting("apo", "APO time (Hrs)",
-                          RadioSettingValueInteger(1, 12, _settings.apo))
+                          RadioSettingValueInteger(0, 12, _settings.apo))
         tab.append(rs)
 
         options = ["%i" % i for i in range(0, 21)]
diff -r 2c552ce0d1a8 -r 0c9f2213c44e tests/images/Yaesu_FT-450D.img
Binary file tests/images/Yaesu_FT-450D.img has changed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Yaesu_FT-450D.img
Type: application/octet-stream
Size: 15181 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20200817/75a9e0c3/attachment-0001.img 


More information about the chirp_devel mailing list