]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: Drain pending replies on initialization
authorDaniel Elstner <redacted>
Fri, 27 Nov 2015 21:47:29 +0000 (22:47 +0100)
committerDaniel Elstner <redacted>
Sat, 28 Nov 2015 22:27:45 +0000 (23:27 +0100)
commit93ed0241aaf6e791e113b741435fa857891e86c2
tree2d165d03c9bd7ff699d3951f0bd23e632dbac0bb
parent567674b4f8a71ff369fad9a31f7d9db00abbd6bc
sysclk-lwla: Drain pending replies on initialization

When opening the device, drain any pending data from the USB
buffers so that the device won't get stuck on crashes etc.
src/hardware/sysclk-lwla/api.c
src/hardware/sysclk-lwla/lwla.h
src/hardware/sysclk-lwla/protocol.h