Add support for creality print

This commit is contained in:
Rob Duplock committed 2024-09-27 17:11:40 +10:00
1 parent 17492c1e5b
commit 735d179f1a
7 files changed
+285 -2

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ bool ESP3D::upload(PrintHostUpload upload_data, ProgressFn prorgess_fn, ErrorFn
http.header("Connection", "keep-alive")
.form_add_file("file", upload_data.source_path, short_name)
.on_complete([&](std::string body, unsigned status) {
// check for OK
// check for OK
if (upload_data.post_action == PrintHostPostUploadAction::StartPrint) {
wxString errormsg;
res = start_print(errormsg, short_name);