diff options
| author | Joel Challis <git@zvecr.com> | 2022-11-27 02:05:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-27 02:05:04 +0000 |
| commit | cb57ec9c02ffebe5abeba266eb9eaa3dfc2089d3 (patch) | |
| tree | 4763a62dc1325510e79c048e68d40fce6c5cfe66 /lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi | |
| parent | 9b51f02f45f72758a61d761c2d8e1b1696cce6e8 (diff) | |
Revert lib/usbhost changes (#19165)
Diffstat (limited to 'lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi')
| -rw-r--r-- | lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi/PS3Multi.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi/PS3Multi.ino b/lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi/PS3Multi.ino index 11833334d0..5ebfd7819c 100644 --- a/lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi/PS3Multi.ino +++ b/lib/usbhost/USB_Host_Shield_2.0/examples/Bluetooth/PS3Multi/PS3Multi.ino @@ -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]; |
