diff options
-rw-r--r-- | firmware/usb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index aa3ab0ae69..2971ab7041 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -199,6 +199,9 @@ static void usb_thread(void) #endif { #ifdef HAVE_USBSTACK + /* Set the state to USB_POWERED for now. if a real + connection is detected it will switch to USB_INSERTED */ + usb_state = USB_POWERED; usb_core_enable_driver(USB_DRIVER_MASS_STORAGE,true); usb_core_enable_driver(USB_DRIVER_CHARGING_ONLY,false); usb_enable(true); |