[chirp_devel] [PATCH] [vx8] Fix set valid flag on new mem. #543

Tom Hayward
Mon Feb 11 12:40:37 PST 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1360615232 28800
# Node ID 3118ca6e16a62e2a428d24cad3ae280f6828c3fc
# Parent  6a77491b365fc34ba3329c89562d30339492c892
[vx8] Fix set valid flag on new mem. #543

diff -r 6a77491b365f -r 3118ca6e16a6 chirp/vx8.py
--- a/chirp/vx8.py	Mon Feb 11 10:08:27 2013 -0800
+++ b/chirp/vx8.py	Mon Feb 11 12:40:32 2013 -0800
@@ -261,6 +261,7 @@
 
         if not mem.empty and not flag.valid:
             _wipe_memory(_mem)
+            flag.valid = True
 
         if mem.empty and flag.valid and not flag.used:
             flag.valid = False



More information about the chirp_devel mailing list