Add support for creality print

This commit is contained in:
Rob Duplock
2024-09-27 17:06:07 +10:00
parent 17492c1e5b
commit 735d179f1a
7 changed files with 285 additions and 2 deletions

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);