Skip to content

Commit

Permalink
Revert "Touch screen note w/ serial"
Browse files Browse the repository at this point in the history
This reverts commit aa7f839.
  • Loading branch information
Sebazzz committed Sep 26, 2020
1 parent e7b5581 commit 71ed695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/core/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ extern uint8_t marlin_debug_flags;
#else
#define SERIAL_OUT(WHAT, V...) do{ \
if (!serial_port_index || serial_port_index == SERIAL_BOTH) (void)MYSERIAL0.WHAT(V); \
if ( serial_port_index) (void)MYSERIAL0.WHAT(V); \
if ( serial_port_index) (void)MYSERIAL1.WHAT(V); \
}while(0)
#endif // TODO: CR-6 requires MYSERIAL0 instead of MYSERIAL1, probably because the touch screen sits on the other serial port
#endif

#define SERIAL_ASSERT(P) if(serial_port_index!=(P)){ debugger(); }
#else
Expand Down

0 comments on commit 71ed695

Please sign in to comment.