Skip to content

Commit fd7bd95

Browse files
Merge pull request #354 from stevstrong/patch-9
Update boards.cpp [F4] - remove repeated call to setup serial USB
2 parents f8d28b8 + 308b5c4 commit fd7bd95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

STM32F4/cores/maple/boards.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ void init(void) {
6969
setupTimers();
7070

7171
#ifdef SERIAL_USB
72-
setupUSB();
73-
SerialUSB.begin();
72+
SerialUSB.begin(); // includes { setupUSB(); }
7473
#endif
7574
}
7675

0 commit comments

Comments
 (0)