From 6f617696ac772929c6d06ed35be5af9159518d34 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Mon, 25 Jun 2018 18:52:22 +0200 Subject: [PATCH] dummy "ok" reponse readded (fix for SD card print with Octoprint: fixes communication timeout issues) --- Firmware/Marlin_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 93331684..225883bf 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -8946,6 +8946,7 @@ void restore_print_from_ram_and_continue(float e_move) card.setIndex(saved_sdpos); sdpos_atomic = saved_sdpos; card.sdprinting = true; + printf_P(PSTR("ok\n")); //dummy response because of octoprint is waiting for this } else if (saved_printing_type == PRINTING_TYPE_USB) { //was usb printing gcode_LastN = saved_sdpos; //saved_sdpos was reused for storing line number when usb printing