summaryrefslogtreecommitdiff
path: root/decoders/rtc8564/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-08-20 19:36:12 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-08-20 20:20:34 +0200
commitcda2d36cfeed3f921252ffa95377529d6bdc074b (patch)
tree6a57288ffac64e0166858a944913148be7e58861 /decoders/rtc8564/pd.py
parentbbe1b715a71536e38a2b7e2362dbd8827a18ec1f (diff)
downloadlibsigrokdecode-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/rtc8564/pd.py')
0 files changed, 0 insertions, 0 deletions