[chirp_devel] [PATCH] [ID-31] Fix for Skip/PSkip Issue with cetain Icom Radios (#2787)

Eric Dropps
Sun Oct 11 10:06:50 PDT 2015


# HG changeset patch
# User kc1ckh at arrl.net
# Date 1444583186 14400
#      Sun Oct 11 13:06:26 2015 -0400
# Node ID 14c80dc8a4f2203e58e0a8602b62d57c6eca1263
# Parent  a4eba5650b19692607ddb3cb3561a3d8acfe69ba
[ID-31] Fix for Skip/PSkip Issue with cetain Icom Radios (#2787)

diff -r a4eba5650b19 -r 14c80dc8a4f2 chirp/drivers/id31.py
--- a/chirp/drivers/id31.py	Wed Jul 01 10:14:53 2015 -0700
+++ b/chirp/drivers/id31.py	Sun Oct 11 13:06:26 2015 -0400
@@ -254,7 +254,7 @@
 
         if _psk & bit:
             mem.skip = "P"
-        if _skp & bit:
+        elif _skp & bit:
             mem.skip = "S"
 
         return mem
@@ -297,7 +297,7 @@
             _skp |= bit
             _psk &= ~bit
         elif memory.skip == "P":
-            _skp &= ~bit
+            _skp |= bit
             _psk |= bit
         else:
             _skp &= ~bit



More information about the chirp_devel mailing list