]> sigrok.org Git - libsigrokdecode.git/commit
srd: Pass metadata to decoders only on SR_DF_HEADER.
authorGareth McMullin <redacted>
Sun, 27 Nov 2011 06:17:13 +0000 (19:17 +1300)
committerGareth McMullin <redacted>
Sun, 27 Nov 2011 06:48:01 +0000 (19:48 +1300)
commit3643fc3fe053bf531b4a7618d02c3d92c29f924b
treecb4abf3d968d7c1940804b49bd6d255141def583
parentf39d2404acb54461f61b676ab164d42e9e76e3fa
srd: Pass metadata to decoders only on SR_DF_HEADER.

Before this was passed to the decoder's constuctor, but the parameters
may not all be known at construction.  Decoders now have a method start()
which is called at the start of the capture, and metadata is passed as
an arg to this function.
decode.c
decoders/i2c.py
decoders/spi.py
decoders/transitioncounter.py
sigrokdecode.h