diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-08-20 19:36:12 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-08-20 20:20:34 +0200 |
commit | cda2d36cfeed3f921252ffa95377529d6bdc074b (patch) | |
tree | 6a57288ffac64e0166858a944913148be7e58861 /decoders/arm_itm | |
parent | bbe1b715a71536e38a2b7e2362dbd8827a18ec1f (diff) | |
download | libsigrokdecode-cda2d36cfeed3f921252ffa95377529d6bdc074b.tar.gz libsigrokdecode-cda2d36cfeed3f921252ffa95377529d6bdc074b.zip |
Pass unitsize per sample chunk.
Don't pass unitsize to srd_inst_channel_set_all(), have that only
set the channel map. Instead, srd_session_send() now has a parameter
for the unitsize which is passed with every new chunk to be decoded.
This is in preparation to fix issues with devices or files which
have a unitsize != 1 and where the "guessed" unitsize based on the
number of channels is not correct.
This also allows for (potential) future changes where every chunk can
indeed have a different unitsize.
This fixes (parts of) bug #352.
Diffstat (limited to 'decoders/arm_itm')
0 files changed, 0 insertions, 0 deletions