From 5c07437b424b4b3d35380b2d5e47d7b843b273fc Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 12 Oct 2017 15:54:24 +0200 Subject: [PATCH] set NOT_BUSY host keepalive state at the beginning of loop --- Firmware/Marlin_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 5b16c2d54..d2e098205 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -1388,6 +1388,7 @@ void host_keepalive() { // Before loop(), the setup() function is called by the main() routine. void loop() { + KEEPALIVE_STATE(NOT_BUSY); if (usb_printing_counter > 0 && millis()-_usb_timer > 1000) { is_usb_printing = true;