[chirp_devel] [PATCH] [uv5r] Add 'RESET' menu and 'Menus' toggle settings

Jim Unroe
Fri Jan 18 17:47:34 PST 2013


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1358559712 18000
# Node ID 067d8a86ea75a6a4bdb3c92cf10a7c576fa8feab
# Parent  c0c2d198f04c0449d53585e043cdc31070dd705a
[uv5r] Add 'RESET' menu and 'Menus' toggle settings
#445

diff -r c0c2d198f04c -r 067d8a86ea75 chirp/uv5r.py
--- a/chirp/uv5r.py	Fri Jan 18 20:19:31 2013 -0500
+++ b/chirp/uv5r.py	Fri Jan 18 20:41:52 2013 -0500
@@ -739,6 +739,14 @@
                                                 STEDELAY_LIST[_settings.rptrl]))
         advanced.append(rs)
 
+        rs = RadioSetting("extra.reset", "RESET Menu",
+                          RadioSettingValueBoolean(self._memobj.extra.reset))
+        advanced.append(rs)
+
+        rs = RadioSetting("extra.menu", "All Menus",
+                          RadioSettingValueBoolean(self._memobj.extra.menu))
+        advanced.append(rs)
+
         if len(self._mmap.get_packed()) == 0x1808:
             # Old image, without aux block
             return group



More information about the chirp_devel mailing list