Change USBSerial.h constructor to allow to label the stream for, eg., redirecting stdin/out/err to a USBSerial object. Will not break existing default use as tested with mbed-os 5.11.5
Dependents: max32630fthr_stdout2usb_mbed_v5-11-5 firmware_framework1
Diff: USBAudio/USBAudio.cpp
- Revision:
- 47:a0cd9646ecd1
- Parent:
- 11:eeb3cbbaa996
--- a/USBAudio/USBAudio.cpp Tue Mar 31 16:15:39 2015 +0100 +++ b/USBAudio/USBAudio.cpp Wed Apr 08 07:46:23 2015 +0100 @@ -119,7 +119,7 @@ } -bool USBAudio::EP3_OUT_callback() { +bool USBAudio::EPISO_OUT_callback() { uint32_t size = 0; interruptOUT = true; if (buf_stream_in != NULL) { @@ -132,7 +132,7 @@ } -bool USBAudio::EP3_IN_callback() { +bool USBAudio::EPISO_IN_callback() { interruptIN = true; writeIN = true; return true;