Skip to content

Commit 5efb0ed

Browse files
committed
Update variant
1 parent b9bf782 commit 5efb0ed

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

variants/FYSETC_S6/variant.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ extern "C" {
174174
//
175175
// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX
176176
// pins are NOT connected to anything by default.
177-
#define SERIAL_PORT_MONITOR Serial
178-
#define SERIAL_PORT_HARDWARE_OPEN Serial
177+
#define SERIAL_PORT_USBVIRTUAL SerialUSB
178+
#define SERIAL_PORT_MONITOR SerialUSB
179+
#define SERIAL_PORT_HARDWARE_OPEN Serial3
179180
#endif
180181

181182
#endif /* _VARIANT_ARDUINO_STM32_ */

0 commit comments

Comments
 (0)