From 3dea5b880f614660c4f741c91f013a661db2a6bf Mon Sep 17 00:00:00 2001 From: Oleg Mazurov Date: Mon, 8 Jul 2013 12:46:32 -0600 Subject: [PATCH] fixed low speed direct attach --- Usb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Usb.cpp b/Usb.cpp index 30d13f13..2d7e539a 100644 --- a/Usb.cpp +++ b/Usb.cpp @@ -452,9 +452,9 @@ void USB::Task(void) //USB state machine lowspeed = false; break; case LSHOST: - // if ((usb_task_state & USB_STATE_MASK) == USB_STATE_DETACHED) { - lowspeed = true; - // } + + lowspeed = true; + //intentional fallthrough case FSHOST: //attached if ((usb_task_state & USB_STATE_MASK) == USB_STATE_DETACHED) { delay = millis() + USB_SETTLE_DELAY;