mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 14:15:53 +08:00
Fix printing start condition, a little bit more comments
This commit is contained in:
parent
4917f3b811
commit
11eafebd8f
@ -99,7 +99,9 @@ bool MKS::upload(PrintHostUpload upload_data, ProgressFn prorgess_fn, ErrorFn er
|
|||||||
})
|
})
|
||||||
.perform_sync();
|
.perform_sync();
|
||||||
|
|
||||||
if (res) {
|
if (res && upload_data.start_print) {
|
||||||
|
// For some reason printer firmware does not want to respond on gcode commands immediately after file upload.
|
||||||
|
// So we just introduce artificial delay to workaround it.
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1500));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1500));
|
||||||
|
|
||||||
wxString msg;
|
wxString msg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user