USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.
Diff: USBHostSerial/USBHostSerial.cpp
- Revision:
- 13:b58a2204422f
- Parent:
- 8:93da8ea2708b
- Child:
- 19:bd46ea19486b
--- a/USBHostSerial/USBHostSerial.cpp Tue Aug 13 09:42:31 2013 +0000 +++ b/USBHostSerial/USBHostSerial.cpp Mon Sep 16 15:36:24 2013 +0100 @@ -131,10 +131,10 @@ line_coding.stop_bits = (stop_bits == 1) ? 0 : 2; // set line coding - int res = host->controlWrite( dev, - USB_RECIPIENT_INTERFACE | USB_HOST_TO_DEVICE | USB_REQUEST_TYPE_CLASS, - SET_LINE_CODING, - 0, serial_intf, (uint8_t *)&line_coding, 7); + host->controlWrite( dev, + USB_RECIPIENT_INTERFACE | USB_HOST_TO_DEVICE | USB_REQUEST_TYPE_CLASS, + SET_LINE_CODING, + 0, serial_intf, (uint8_t *)&line_coding, 7); } int USBHostSerial::_getc() {