|
@@ -40,7 +40,7 @@ GcodeSuite gcode;
|
40
|
40
|
#include "../feature/mixing.h"
|
41
|
41
|
#endif
|
42
|
42
|
|
43
|
|
-#include "../Marlin.h" // for idle()
|
|
43
|
+#include "../Marlin.h" // for idle() and suspend_auto_report
|
44
|
44
|
|
45
|
45
|
uint8_t GcodeSuite::target_extruder;
|
46
|
46
|
millis_t GcodeSuite::previous_cmd_ms;
|
|
@@ -749,7 +749,7 @@ void GcodeSuite::process_next_command() {
|
749
|
749
|
void GcodeSuite::host_keepalive() {
|
750
|
750
|
const millis_t ms = millis();
|
751
|
751
|
static millis_t next_busy_signal_ms = 0;
|
752
|
|
- if (host_keepalive_interval && busy_state != NOT_BUSY) {
|
|
752
|
+ if (!suspend_auto_report && host_keepalive_interval && busy_state != NOT_BUSY) {
|
753
|
753
|
if (PENDING(ms, next_busy_signal_ms)) return;
|
754
|
754
|
switch (busy_state) {
|
755
|
755
|
case IN_HANDLER:
|