]> sigrok.org Git - libsigrok.git/commit
asix-sigma: check for successful register access in sample download
authorDaniel Trnka <redacted>
Thu, 12 Mar 2020 11:08:35 +0000 (12:08 +0100)
committerUwe Hermann <redacted>
Tue, 24 Mar 2020 18:20:40 +0000 (19:20 +0100)
commitf73b00b647ccca65e1aaba21a1b826f3f4b965ab
treeef942d8b186a5871a3b487a722571b74c2a4685a
parentf5c863e57255d34ad2564f06f57ab90d090fef52
asix-sigma: check for successful register access in sample download

The previous implementation got stuck in an infinite loop when data
acquisition started, but the device got disconnected before the data
acquisition terminates. An implementation detail ignored communication
errors, and never saw the expected condition that was required to
continue in the sample download sequence. Unbreak that code path.
src/hardware/asix-sigma/protocol.c