Merge pull request #875 from PavelSindler/fix_crash_restore

dummy "ok" reponse readded (fix for SD card print with Octoprint: fix…
This commit is contained in:
PavelSindler 2018-06-25 19:08:43 +02:00 committed by GitHub
commit 65880fac67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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