mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Forgot to create hub instance
This commit is contained in:
parent
ae1d782a32
commit
2ff619dcc7
1 changed files with 3 additions and 0 deletions
|
@ -5,7 +5,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <XBOXOLD.h>
|
#include <XBOXOLD.h>
|
||||||
|
#include <usbhub.h>
|
||||||
|
|
||||||
USB Usb;
|
USB Usb;
|
||||||
|
USBHub Hub1(&Usb); // The controller has a built in hub, so this instance is needed
|
||||||
XBOXOLD Xbox(&Usb);
|
XBOXOLD Xbox(&Usb);
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
|
Loading…
Reference in a new issue