]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: Utility functions clean-up and semantic fixes.
authorDaniel Elstner <redacted>
Wed, 15 Jan 2014 00:12:39 +0000 (01:12 +0100)
committerDaniel Elstner <redacted>
Wed, 15 Jan 2014 20:44:59 +0000 (21:44 +0100)
commit313c7a7da20cb6d8e5e962844ed47d57460ff978
treef53411a0e057172c0b57e2aec4ffa6da4cf65a45
parent60e2fa0a03f689bf1e04f38e91473b8c231c4e26
sysclk-lwla: Utility functions clean-up and semantic fixes.

(lwla_send_bitstream): Unref the mapped file earlier in order
to simplify the error handling.
(lwla_receive_reply): Do not treat a reply buffer length of
zero as silent no-op.  That logic was left over from an earlier
iteration, before the distinction between reply buffer size and
expected read length was introduced.
hardware/sysclk-lwla/lwla.c