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.h
- Revision:
- 47:a0cd9646ecd1
- Parent:
- 25:7c72828865f3
--- a/USBAudio/USBAudio.h Tue Mar 31 16:15:39 2015 +0100 +++ b/USBAudio/USBAudio.h Wed Apr 08 07:46:23 2015 +0100 @@ -216,12 +216,12 @@ /* * Callback called when a packet is received */ - virtual bool EP3_OUT_callback(); + virtual bool EPISO_OUT_callback(); /* * Callback called when a packet has been sent */ - virtual bool EP3_IN_callback(); + virtual bool EPISO_IN_callback(); private: