diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-06-18 19:32:57 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-21 17:45:15 +0200 |
commit | cbca32378d7b18a793057a7f6c4a7a19efa53376 (patch) | |
tree | fba5befcc1be9d55718c091e3f96b0a484926b5a /decoders/i2c | |
parent | 1b9ef18be867133e721681cbc20272cf5c669504 (diff) | |
download | libsigrokdecode-cbca32378d7b18a793057a7f6c4a7a19efa53376.tar.gz libsigrokdecode-cbca32378d7b18a793057a7f6c4a7a19efa53376.zip |
i2c: Don't drop the first sample of input data
The previous implementation of the I2C decoder used to retrieve and not
process the first sample of the input stream. Remove this instruction.
Diffstat (limited to 'decoders/i2c')
-rw-r--r-- | decoders/i2c/pd.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py index 0e7f769..d0c2ea7 100644 --- a/decoders/i2c/pd.py +++ b/decoders/i2c/pd.py @@ -253,8 +253,6 @@ class Decoder(srd.Decoder): if not self.samplerate: raise SamplerateError('Cannot decode without samplerate.') - self.wait({}) - while True: # State machine. if self.state == 'FIND START': |