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