Misc. cleanup, serial strings
This commit is contained in:
1 parent
b320b1a3c2
commit
92767f5513
7 files changed
+12
-19
No files matched your search
@@ -57,9 +57,9 @@ void GcodeSuite::M118() {
|
||||
if (WITHIN(port, 0, NUM_SERIAL))
|
||||
serial_port_index = (
|
||||
port == 0 ? SERIAL_BOTH
|
||||
: port == 1 ? SERIAL_PORT
|
||||
#ifdef SERIAL_PORT_2
|
||||
: port == 2 ? SERIAL_PORT_2
|
||||
: port == 1 ? 0
|
||||
#if HAS_MULTI_SERIAL
|
||||
: port == 2 ? 1
|
||||
#endif
|
||||
: SERIAL_PORT
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user