Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: UsbHostMAX3421E_Hello
Diff: XBOXUSB.cpp
- Revision:
- 1:2263e77400e9
- Parent:
- 0:84353c479782
diff -r 84353c479782 -r 2263e77400e9 XBOXUSB.cpp --- a/XBOXUSB.cpp Sun Jul 12 20:39:26 2020 +0000 +++ b/XBOXUSB.cpp Mon Jul 13 07:03:06 2020 +0000 @@ -20,7 +20,7 @@ //#define EXTRADEBUG // Uncomment to get even more debugging data //#define PRINTREPORT // Uncomment to print the report send by the Xbox 360 Controller -XBOXUSB::XBOXUSB(USB *p) : +XBOXUSB::XBOXUSB(Usb *p) : pUsb(p), // pointer to USB class instance - mandatory bAddress(0), // device address - mandatory bPollEnable(false) { // don't start polling before dongle is connected