[chirp_devel] [PATCH] [uvb5] Defaults incorrectly set for 'extra' settings

Jim Unroe
Sun Jun 9 06:05:28 PDT 2013


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1370782632 14400
# Node ID 8d8d820020a031e69f7f514f04c67a4ee468cfea
# Parent  73600ecef8e8a9a6ae24066e330503d1fbeaf607
[uvb5] Defaults incorrectly set for 'extra' settings
#919

diff -r 73600ecef8e8 -r 8d8d820020a0 chirp/uvb5.py
--- a/chirp/uvb5.py	Wed May 29 10:53:01 2013 -0700
+++ b/chirp/uvb5.py	Sun Jun 09 08:57:12 2013 -0400
@@ -310,6 +310,9 @@
             _mem.set_raw("\xFF" * 16)
             return
 
+        if _mem.get_raw() == ("\xFF" * 16):
+            _mem.set_raw("\x00" * 13 + "\xFF" * 3)
+
         _mem.freq = mem.freq / 10
 
         if mem.duplex == "off":



More information about the chirp_devel mailing list