diff --git a/usbhub.cpp b/usbhub.cpp index 4df7bfdb..e117a069 100644 --- a/usbhub.cpp +++ b/usbhub.cpp @@ -345,6 +345,7 @@ uint8_t USBHub::PortStatusChange(uint8_t port, HubEvent &evt) { bResetInitiated = false; UsbDeviceAddress a; + a.devAddress = 0; a.bmHub = 0; a.bmParent = bAddress; a.bmAddress = port;