Revert lib/usbhost changes (#19165)
This commit is contained in:
parent
9b51f02f45
commit
cb57ec9c02
5 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ USB Usb;
|
|||
|
||||
BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so
|
||||
PS3BT *PS3[2]; // We will use this pointer to store the two instance, you can easily make it larger if you like, but it will use a lot of RAM!
|
||||
const uint8_t length = ARRAY_SIZE(PS3); // Get the lenght of the array
|
||||
const uint8_t length = sizeof(PS3) / sizeof(PS3[0]); // Get the lenght of the array
|
||||
bool printAngle[length];
|
||||
bool oldControllerState[length];
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ USB Usb;
|
|||
|
||||
BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so
|
||||
WII *Wii[2]; // We will use this pointer to store the two instance, you can easily make it larger if you like, but it will use a lot of RAM!
|
||||
const uint8_t length = ARRAY_SIZE(Wii); // Get the lenght of the array
|
||||
const uint8_t length = sizeof(Wii) / sizeof(Wii[0]); // Get the lenght of the array
|
||||
bool printAngle[length];
|
||||
bool oldControllerState[length];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue