From 81ed31e1fe6512be4598747718381973098027db Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 8 Oct 2013 19:05:08 +0200 Subject: [PATCH] Check for hrJERR after ConfigureDevice too --- Usb.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Usb.cpp b/Usb.cpp index f1e6bc49..caa931ce 100644 --- a/Usb.cpp +++ b/Usb.cpp @@ -579,6 +579,9 @@ again: // reset parent port devConfig[parent]->ResetHubPort(port); } + } else if (rcode == hrJERR) { // Some devices returns this when plugged in - trying to initialize the device again usually works + delay(100); + goto again; } else if (rcode) return rcode;