FIX: disable micro lidar in P1P

Change-Id: Idec534e783319c51c19f3b1bafce633c29a13a71
This commit is contained in:
Stone Li 2023-05-23 09:51:44 +08:00 committed by Lane.Wei
parent 1babf060e6
commit 6e5e947aa2
4 changed files with 9 additions and 2 deletions

View file

@ -214,7 +214,8 @@ wxWindow* CalibrationDialog::create_check_option(wxString title, wxWindow* paren
void CalibrationDialog::update_cali(MachineObject *obj)
{
if (!obj) return;
if (obj->is_function_supported(PrinterFunction::FUNC_AI_MONITORING)) {
if (obj->is_function_supported(PrinterFunction::FUNC_AI_MONITORING)
&& obj->is_function_supported(PrinterFunction::FUNC_LIDAR_CALIBRATION)) {
select_xcam_cali->Show();
} else {
select_xcam_cali->Hide();