[chirp_devel] [PATCH] [ID-31] Fix for ID-31 and decendants to propery get and set PSKIP and SKIP flags. (#2787)
Eric Dropps
Tue Oct 6 20:54:09 PDT 2015
# HG changeset patch
# User kc1ckh at arrl.net
# Date 1444189959 14400
# Tue Oct 06 23:52:39 2015 -0400
# Node ID ff0876d92d34ca1b995f3acb5ed7e16245ec01e3
# Parent a4eba5650b19692607ddb3cb3561a3d8acfe69ba
[ID-31] Fix for ID-31 and decendants to propery get and set PSKIP and SKIP flags. (#2787)
diff -r a4eba5650b19 -r ff0876d92d34 chirp/drivers/id31.py
--- a/chirp/drivers/id31.py Wed Jul 01 10:14:53 2015 -0700
+++ b/chirp/drivers/id31.py Tue Oct 06 23:52:39 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