|
|
@ -728,7 +728,7 @@ void get_command() { |
|
|
|
static millis_t last_command_time = 0; |
|
|
|
millis_t ms = millis(); |
|
|
|
|
|
|
|
if (!MYSERIAL.available() && commands_in_queue == 0 && ms - last_command_time > 1000) { |
|
|
|
if (!MYSERIAL.available() && commands_in_queue == 0 && ms - last_command_time > NO_TIMEOUTS) { |
|
|
|
SERIAL_ECHOLNPGM(MSG_WAIT); |
|
|
|
last_command_time = ms; |
|
|
|
} |
|
|
@ -5299,7 +5299,11 @@ void ClearToSend() { |
|
|
|
#ifdef SDSUPPORT |
|
|
|
if (fromsd[cmd_queue_index_r]) return; |
|
|
|
#endif |
|
|
|
SERIAL_PROTOCOLLNPGM(MSG_OK); |
|
|
|
SERIAL_PROTOCOLPGM(MSG_OK); |
|
|
|
#ifdef ADVANCED_OK |
|
|
|
SERIAL_PROTOCOLPGM(" N"); SERIAL_PROTOCOL(gcode_LastN); |
|
|
|
SERIAL_PROTOCOLPGM(" S"); SERIAL_PROTOCOLLN(commands_in_queue); |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
void get_coordinates() { |
|
|
|