We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e815b06 commit aa7f839Copy full SHA for aa7f839
Marlin/src/core/serial.h
@@ -57,9 +57,9 @@ extern uint8_t marlin_debug_flags;
57
#else
58
#define SERIAL_OUT(WHAT, V...) do{ \
59
if (!serial_port_index || serial_port_index == SERIAL_BOTH) (void)MYSERIAL0.WHAT(V); \
60
- if ( serial_port_index) (void)MYSERIAL1.WHAT(V); \
+ if ( serial_port_index) (void)MYSERIAL0.WHAT(V); \
61
}while(0)
62
- #endif
+ #endif // TODO: CR-6 requires MYSERIAL0 instead of MYSERIAL1, probably because the touch screen sits on the other serial port
63
64
#define SERIAL_ASSERT(P) if(serial_port_index!=(P)){ debugger(); }
65
0 commit comments