mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
[BUGFIX] Ensure bmReserved is a zero
This commit is contained in:
parent
ab74e7750a
commit
48332d13ae
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ uint8_t USBHub::PortStatusChange(uint8_t port, HubEvent &evt) {
|
||||||
bResetInitiated = false;
|
bResetInitiated = false;
|
||||||
|
|
||||||
UsbDeviceAddress a;
|
UsbDeviceAddress a;
|
||||||
|
a.devAddress = 0;
|
||||||
a.bmHub = 0;
|
a.bmHub = 0;
|
||||||
a.bmParent = bAddress;
|
a.bmParent = bAddress;
|
||||||
a.bmAddress = port;
|
a.bmAddress = port;
|
||||||
|
|
Loading…
Reference in a new issue