summaryrefslogtreecommitdiff
path: root/decoders/qi
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-06-06 11:51:04 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-06 11:51:04 +0200
commit18101a318c4ed6ed3f6a32ef7e4867ed7be1ff2a (patch)
treeeb3d82cf49a9ecc2f72577e8c93329e40d89f38c /decoders/qi
parent97b874bd0b6913ed52df1b8aac5e7491479fac9a (diff)
downloadlibsigrokdecode-18101a318c4ed6ed3f6a32ef7e4867ed7be1ff2a.tar.gz
libsigrokdecode-18101a318c4ed6ed3f6a32ef7e4867ed7be1ff2a.zip
Drop trailing whitespace in various PDs.
Diffstat (limited to 'decoders/qi')
-rw-r--r--decoders/qi/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/qi/pd.py b/decoders/qi/pd.py
index 9782ee5..0c880dd 100644
--- a/decoders/qi/pd.py
+++ b/decoders/qi/pd.py
@@ -146,7 +146,7 @@ class Decoder(srd.Decoder):
'C: PC = %d MP = %d P = %d C = %d WS = %d WO = %d' %
(powerclass, maxpower, prop, count, winsize, winoff),
'Configuration', 'C'])
- elif self.packet[0] == 0x71: # Identification
+ elif self.packet[0] == 0x71: # Identification
version = '%d.%d' % ((self.packet[1] & 0xf0) >> 4, self.packet[1] & 0x0f)
mancode = '%02x%02x' % (self.packet[2], self.packet[3])
devid = '%02x%02x%02x%02x' % (self.packet[4] & ~0x80,