[chirp_devel] [PATCH] [uv5r] Add support for disabling the F-11's VFO/MR button

Jim Unroe
Sat Jul 13 18:44:31 PDT 2013


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1373766109 14400
# Node ID 454b9f0361cb74a6fb44b212b7289ab35894de80
# Parent  8a1ea9ddb05ae8e1ce19269fa9c9643578e61872
[uv5r] Add support for disabling the F-11's VFO/MR button
#973

diff -r 8a1ea9ddb05a -r 454b9f0361cb chirp/uv5r.py
--- a/chirp/uv5r.py	Tue Jul 09 22:13:52 2013 -0400
+++ b/chirp/uv5r.py	Sat Jul 13 21:41:49 2013 -0400
@@ -124,7 +124,7 @@
      unknown2:1,
      reset:1,
      menu:1;
-  u8 unknown3;
+  u8 vfomrlock;
   u8 workmode;
   u8 keylock;
 } extra;
@@ -884,6 +884,10 @@
                           RadioSettingValueBoolean(self._memobj.extra.menu))
         advanced.append(rs)
 
+        rs = RadioSetting("extra.vfomrlock", "VFO/MR Button (F-11 only)",
+                          RadioSettingValueBoolean(self._memobj.extra.vfomrlock))
+        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