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: cdcftdi.h
- Revision:
- 1:2263e77400e9
- Parent:
- 0:84353c479782
--- a/cdcftdi.h Sun Jul 12 20:39:26 2020 +0000 +++ b/cdcftdi.h Mon Jul 13 07:03:06 2020 +0000 @@ -101,7 +101,7 @@ static const uint8_t epInterruptInIndex; // InterruptIN endpoint index FTDIAsyncOper *pAsync; - USB *pUsb; + Usb *pUsb; uint8_t bAddress; uint8_t bConfNum; // configuration number uint8_t bNumIface; // number of interfaces in the configuration @@ -117,7 +117,7 @@ void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR* ep_ptr); public: - FTDI(USB *pusb, FTDIAsyncOper *pasync, uint16_t idProduct = FTDI_PID); + FTDI(Usb *pusb, FTDIAsyncOper *pasync, uint16_t idProduct = FTDI_PID); uint8_t SetBaudRate(uint32_t baud); uint8_t SetModemControl(uint16_t control);