Skip to content
Snippets Groups Projects
Commit 9470554f authored by Evgeny Zyatkov's avatar Evgeny Zyatkov Committed by Scott Lahteine
Browse files

Fix DUE HAL serial defines (#15594)

parent f368c14a
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
// Define MYSERIAL0/1 before MarlinSerial includes!
#if SERIAL_PORT == -1
#define MYSERIAL0 Serial1
#define MYSERIAL0 customizedSerial1
#elif SERIAL_PORT == 0
#define MYSERIAL0 Serial
#elif SERIAL_PORT == 1
......@@ -58,7 +58,7 @@
#error "SERIAL_PORT_2 must be different from SERIAL_PORT. Please update your configuration."
#endif
#if SERIAL_PORT_2 == -1
#define MYSERIAL1 Serial1
#define MYSERIAL1 customizedSerial2
#elif SERIAL_PORT_2 == 0
#define MYSERIAL1 Serial
#elif SERIAL_PORT_2 == 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment