]> sigrok.org Git - libsigrok.git/commit
sr: fx2lafw: Set correct unitsize for trigger buffer
authorLars-Peter Clausen <redacted>
Thu, 21 Jun 2012 17:54:29 +0000 (19:54 +0200)
committerBert Vermeulen <redacted>
Mon, 25 Jun 2012 17:48:21 +0000 (19:48 +0200)
commitfa114e4ab1ef0d30bb3cce8f926e43d66df9f787
tree15f6e73d8bf163dc4eb9a2721f6067000f8bbfa4
parente05a174be2f9142471ad94a1af2b3722efd9c6ae
sr: fx2lafw: Set correct unitsize for trigger buffer

Commit 88b75eb719 ("fx2lafw: Added device caps and added support for wide
sampling") increased the size of the trigger buffer from 8 to 16 bit, but forgot
to adjust the unitsize logic packet which is used to send the contents of the
trigger buffer. This patch sets the unitsize to sizeof() of the trigger buffer.

Signed-off-by: Lars-Peter Clausen <redacted>
hardware/fx2lafw/fx2lafw.c