mirror of https://github.com/ARMmbed/mbed-os.git
Add USBConsole.h so that default printf can be sent to USBSerial
parent
8526148001
commit
4c299fe96d
|
@ -0,0 +1,7 @@
|
|||
#include "USBSerial.h"
|
||||
|
||||
FileHandle* mbed::mbed_override_console(int)
|
||||
{
|
||||
static USBSerial usbSerialConsole;
|
||||
return &usbSerialConsole;
|
||||
}
|
Loading…
Reference in New Issue