FIX: fix cali bug

Change-Id: I0c7c8d5ebad8139a0959ef9bd2c7991b52fde0c1
(cherry picked from commit 7c1340023a740dc7a8e7938354cd6130b367e03d)
This commit is contained in:
zhimin.zeng 2023-07-04 12:02:35 +08:00 committed by Lane.Wei
parent 83ee1f2050
commit 289dec3997
3 changed files with 12 additions and 3 deletions

View file

@ -826,7 +826,7 @@ void CalibUtils::send_to_print(const CalibInfo &calib_info, std::string &error_m
return;
}
if (obj_->is_in_printing()) {
if (obj_->is_in_upgrading()) {
error_message = L("Cannot send the print job when the printer is updating firmware");
return;
}