From 687187d3a022f0f9eeb6b591ffcd3e4b643c1392 Mon Sep 17 00:00:00 2001 From: "Andrew J. Kroll" Date: Mon, 17 Jun 2013 01:43:16 -0400 Subject: [PATCH] Document corner case with toggles --- masstorage.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/masstorage.cpp b/masstorage.cpp index 4eb1e14c..6b48a6e5 100644 --- a/masstorage.cpp +++ b/masstorage.cpp @@ -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);