From 18101a318c4ed6ed3f6a32ef7e4867ed7be1ff2a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 6 Jun 2017 11:51:04 +0200 Subject: Drop trailing whitespace in various PDs. --- decoders/qi/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/qi') 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, -- cgit v1.2.3-70-g09d2