Skip to content

Commit 3bd2e17

Browse files
committed
SerialUSB shadowing: properly call begin() during init
1 parent d3fee39 commit 3bd2e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int main(void)
4141

4242
#if defined(SERIAL_CDC)
4343
PluggableUSBD().begin();
44-
SerialUSB.begin(115200);
44+
_SerialUSB.begin(115200);
4545
#endif
4646

4747
setup();

0 commit comments

Comments
 (0)