Skip to content

Commit 562173d

Browse files
committed
ThreadDebug: shadow SerialUSB arduino object with mbed's internal
1 parent e928558 commit 562173d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/ThreadDebug/src/ThreadDebug.h

+4
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ class DebugCommInterface {
8484
};
8585

8686
#ifdef SERIAL_CDC
87+
88+
#undef SerialUSB
89+
#define SerialUSB _SerialUSB
90+
8791
// Use the SerialUSB interface to communicate with GDB.
8892
class UsbDebugCommInterface : public DebugCommInterface {
8993
public:

0 commit comments

Comments
 (0)