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
42a1be314f
commit
ab74e7750a
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
UsbDeviceAddress addr;
|
UsbDeviceAddress addr;
|
||||||
|
addr.devAddress = 0; // Ensure all bits are zero
|
||||||
|
|
||||||
addr.bmParent = ((UsbDeviceAddress*) & parent)->bmAddress;
|
addr.bmParent = ((UsbDeviceAddress*) & parent)->bmAddress;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue