diff options
author | Bert Vermeulen <bert@biot.com> | 2012-02-28 14:33:45 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-02-28 14:34:53 +0100 |
commit | 1b75abfdd3e00ef590c9d1905863f6f2cb5a8632 (patch) | |
tree | 025b2717965bfd449c7a6a2d2b1304882ea5abf3 /decoders/nunchuk | |
parent | 5154cadf4a143f6157a54aa4d2097dffe78c0f29 (diff) | |
download | libsigrokdecode-1b75abfdd3e00ef590c9d1905863f6f2cb5a8632.tar.gz libsigrokdecode-1b75abfdd3e00ef590c9d1905863f6f2cb5a8632.zip |
srd: I2C: change format to have ACK/NACK bits as separate events
Diffstat (limited to 'decoders/nunchuk')
-rw-r--r-- | decoders/nunchuk/nunchuk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/nunchuk/nunchuk.py b/decoders/nunchuk/nunchuk.py index cd6fa21..0e5e742 100644 --- a/decoders/nunchuk/nunchuk.py +++ b/decoders/nunchuk/nunchuk.py @@ -60,7 +60,7 @@ class Decoder(srd.Decoder): def decode(self, ss, es, data): - cmd, databyte, ack_bit = data + cmd, databyte = data if cmd == 'START': # TODO: Handle 'Sr' here, too? self.state = START |