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: usbh_midi.h
- Revision:
- 1:2263e77400e9
- Parent:
- 0:84353c479782
diff -r 84353c479782 -r 2263e77400e9 usbh_midi.h --- a/usbh_midi.h Sun Jul 12 20:39:26 2020 +0000 +++ b/usbh_midi.h Mon Jul 13 07:03:06 2020 +0000 @@ -45,7 +45,7 @@ static const uint8_t epDataOutIndexVSP; // DataOUT endpoint index(Vendor Specific Protocl) /* mandatory members */ - USB *pUsb; + Usb *pUsb; uint8_t bAddress; uint8_t bConfNum; // configuration number uint8_t bNumEP; // total number of EP in the configuration @@ -66,7 +66,7 @@ void PrintEndpointDescriptor( const USB_ENDPOINT_DESCRIPTOR* ep_ptr ); #endif public: - USBH_MIDI(USB *p); + USBH_MIDI(Usb *p); // Misc functions operator bool() { return (pUsb->getUsbTaskState()==USB_STATE_RUNNING); } uint16_t idVendor() { return vid; }