diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-07-22 19:54:59 +0200 |
---|---|---|
committer | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-07-22 19:54:59 +0200 |
commit | fc9d619c520c2b47b52ff71e30260ed9333f33f2 (patch) | |
tree | cd6904dc5c8ffb7f9f07f3ab8b23c638dab5a9df /tests/lib.h | |
parent | 2071c4d3d8503b8ae9ccd623cec1163ec6732a91 (diff) | |
download | libsigrokdecode-fc9d619c520c2b47b52ff71e30260ed9333f33f2.tar.gz libsigrokdecode-fc9d619c520c2b47b52ff71e30260ed9333f33f2.zip |
usb_request: Handle CONTROL transfer protocol stalls
According to the USB 2.0 spec, 8.5.3.4, a protocol stall condition lasts
until the next SETUP transfer. On reception of the SETUP, adjust the end
sample accordingly, and flush the previous CONTROL transfer.
Diffstat (limited to 'tests/lib.h')
0 files changed, 0 insertions, 0 deletions