|
@ -225,9 +225,9 @@ void GCodeQueue::enqueue_now_P(PGM_P const pgcode) { |
|
|
*/ |
|
|
*/ |
|
|
void GCodeQueue::ok_to_send() { |
|
|
void GCodeQueue::ok_to_send() { |
|
|
#if NUM_SERIAL > 1 |
|
|
#if NUM_SERIAL > 1 |
|
|
const int16_t p = port[index_r]; |
|
|
const int16_t pn = port[index_r]; |
|
|
if (p < 0) return; |
|
|
if (pn < 0) return; |
|
|
PORT_REDIRECT(p); |
|
|
PORT_REDIRECT(pn); |
|
|
#endif |
|
|
#endif |
|
|
if (!send_ok[index_r]) return; |
|
|
if (!send_ok[index_r]) return; |
|
|
SERIAL_ECHOPGM(MSG_OK); |
|
|
SERIAL_ECHOPGM(MSG_OK); |
|
|