Pass unitsize to srd_session_send() directly.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 20 Aug 2015 17:47:12 +0000 (19:47 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 20 Aug 2015 17:47:12 +0000 (19:47 +0200)
commitee639fb40fa43aa3553ef0229def9bcdb8338c2b
tree28e300d158a740fd1428a76c952c4d0a30ced1d0
parent6ffb657795f2c4115a7483580c80f27f8d60d4ec
Pass unitsize to srd_session_send() directly.

Follow an API change in libsigrokdecode where srd_inst_channel_set_all()
no longer gets passed a unitsize, but rather srd_session_send() gets it.

This allows us to avoid having to guess a unitsize based on the number
of channels (which guesses incorrectly in some cases).

This fixes (parts of) bug #352.
decode.c
session.c