mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Document corner case with toggles
This commit is contained in:
parent
2b0c1f5fbe
commit
687187d3a0
1 changed files with 4 additions and 0 deletions
|
@ -1002,6 +1002,10 @@ uint8_t BulkOnly::HandleUsbError(uint8_t error, uint8_t index) {
|
|||
// return MASS_ERR_WRITE_NAKS;
|
||||
//return MASS_ERR_READ_NAKS;
|
||||
case hrTOGERR:
|
||||
// Handle a very super rare corner case, where toggles become de-synched.
|
||||
// I have only ran into one device that has this firmware bug, and this is
|
||||
// the only clean way to get back into sync with the buggy device firmware.
|
||||
// --AJK
|
||||
if (bAddress && bConfNum) {
|
||||
error = pUsb->setConf(bAddress, 0, bConfNum);
|
||||
|
||||
|
|
Loading…
Reference in a new issue