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: usbhid.h
- Revision:
- 1:2263e77400e9
- Parent:
- 0:84353c479782
diff -r 84353c479782 -r 2263e77400e9 usbhid.h --- a/usbhid.h Sun Jul 12 20:39:26 2020 +0000 +++ b/usbhid.h Mon Jul 13 07:03:06 2020 +0000 @@ -142,7 +142,7 @@ class USBHID : public USBDeviceConfig, public UsbConfigXtracter { protected: - USB *pUsb; // USB class instance pointer + Usb *pUsb; // USB class instance pointer uint8_t bAddress; // address protected: @@ -162,10 +162,10 @@ public: - USBHID(USB *pusb) : pUsb(pusb) { + USBHID(Usb *pusb) : pUsb(pusb) { }; - const USB* GetUsb() { + const Usb* GetUsb() { return pUsb; };