mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 00:45:55 +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();
|
||||
|
||||
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));
|
||||
|
||||
wxString msg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user