|
|
@ -39,7 +39,7 @@
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
|
|
// Define MYSERIAL0/1 before MarlinSerial includes!
|
|
|
|
// Define MYSERIAL0/1 before MarlinSerial includes!
|
|
|
|
#if SERIAL_PORT == -1
|
|
|
|
#if SERIAL_PORT == -1 || ENABLED(EMERGENCY_PARSER)
|
|
|
|
#define MYSERIAL0 customizedSerial1
|
|
|
|
#define MYSERIAL0 customizedSerial1
|
|
|
|
#elif SERIAL_PORT == 0
|
|
|
|
#elif SERIAL_PORT == 0
|
|
|
|
#define MYSERIAL0 Serial
|
|
|
|
#define MYSERIAL0 Serial
|
|
|
@ -56,7 +56,7 @@
|
|
|
|
#ifdef SERIAL_PORT_2
|
|
|
|
#ifdef SERIAL_PORT_2
|
|
|
|
#if SERIAL_PORT_2 == SERIAL_PORT
|
|
|
|
#if SERIAL_PORT_2 == SERIAL_PORT
|
|
|
|
#error "SERIAL_PORT_2 must be different from SERIAL_PORT. Please update your configuration."
|
|
|
|
#error "SERIAL_PORT_2 must be different from SERIAL_PORT. Please update your configuration."
|
|
|
|
#elif SERIAL_PORT_2 == -1
|
|
|
|
#elif SERIAL_PORT_2 == -1 || ENABLED(EMERGENCY_PARSER)
|
|
|
|
#define MYSERIAL1 customizedSerial2
|
|
|
|
#define MYSERIAL1 customizedSerial2
|
|
|
|
#elif SERIAL_PORT_2 == 0
|
|
|
|
#elif SERIAL_PORT_2 == 0
|
|
|
|
#define MYSERIAL1 Serial
|
|
|
|
#define MYSERIAL1 Serial
|
|
|
|