FIX: pass try_emmc_print flag when print

jira: [STUDIO-14427]
Change-Id: I3b765e4ea3f290bbc95616f07b416a72f60c7bc5
(cherry picked from commit 39aa7ede7f4cfee20db8f6040a17317a72c9c95e)
This commit is contained in:
haolin.tian 2025-09-24 19:43:40 +08:00 committed by Noisyfox
parent 4a51ef7f91
commit 62bf7d1355
2 changed files with 3 additions and 1 deletions

View file

@ -261,6 +261,7 @@ void PrintJob::process(Ctl &ctl)
params.auto_flow_cali = this->auto_flow_cali;
params.auto_offset_cali = this->auto_offset_cali;
params.task_ext_change_assist = this->task_ext_change_assist;
params.try_emmc_print = this->could_emmc_print;
if (m_print_type == "from_sdcard_view") {
params.dst_file = m_dst_path;

View file

@ -277,7 +277,8 @@ struct PrintParams {
int auto_bed_leveling{ 0 };
int auto_flow_cali{ 0 };
int auto_offset_cali{ 0 };
bool task_ext_change_assist{false};
bool task_ext_change_assist;
bool try_emmc_print;
};
struct TaskQueryParams