diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2022-04-23 15:29:09 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2022-04-23 16:29:58 +0200 |
commit | 450d475b2bfc3e73d56580e0061a508fa67972b0 (patch) | |
tree | 4076122a3ddde49c94f7460c097258f28b4b30b5 /decoder/test/i2cfilter/test.conf | |
parent | 15cc940fb8d79ffee3f41d269998901861a542c7 (diff) | |
download | sigrok-test-450d475b2bfc3e73d56580e0061a508fa67972b0.tar.gz sigrok-test-450d475b2bfc3e73d56580e0061a508fa67972b0.zip |
runtc: cope with "late" samplerate announcement
The previous implementation expected a rather specific sequence of
SR_DF_HEADER with samplerate, then SR_DF_LOGIC. This worked with .sr
formatted session files. But does not work with other input formats.
Also process SR_DF_META packets. Pass any samplerate that we learn about
to decoders' .metadata() method. Defer decoders' .start() until the first
logic samples are seen. This improves robustness of the decoder tests.
Diffstat (limited to 'decoder/test/i2cfilter/test.conf')
0 files changed, 0 insertions, 0 deletions