dummy "ok" reponse readded (fix for SD card print with Octoprint: fixes communication timeout issues)
This commit is contained in:
parent
3674673faa
commit
6f617696ac
1 changed files with 1 additions and 0 deletions
|
@ -8946,6 +8946,7 @@ void restore_print_from_ram_and_continue(float e_move)
|
||||||
card.setIndex(saved_sdpos);
|
card.setIndex(saved_sdpos);
|
||||||
sdpos_atomic = saved_sdpos;
|
sdpos_atomic = saved_sdpos;
|
||||||
card.sdprinting = true;
|
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
|
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
|
gcode_LastN = saved_sdpos; //saved_sdpos was reused for storing line number when usb printing
|
||||||
|
|
Loading…
Reference in a new issue