Fix a compile warning, etc. (#12955)
This commit is contained in:
@ -179,13 +179,9 @@ void GcodeSuite::M28() {
|
||||
|
||||
#if ENABLED(FAST_FILE_TRANSFER)
|
||||
|
||||
const int16_t port =
|
||||
#if NUM_SERIAL > 1
|
||||
command_queue_port[cmd_queue_index_r]
|
||||
#else
|
||||
0
|
||||
#endif
|
||||
;
|
||||
#if NUM_SERIAL > 1
|
||||
const int16_t port = command_queue_port[cmd_queue_index_r];
|
||||
#endif
|
||||
|
||||
bool binary_mode = false;
|
||||
char *p = parser.string_arg;
|
||||
|
Reference in New Issue
Block a user