From 9920e3983e97f59fb602ff1fbbd26cb7799ccc8e Mon Sep 17 00:00:00 2001 From: tao wang Date: Tue, 4 Jun 2024 09:33:08 +0800 Subject: [PATCH] ENH:get sound support through homeflag jira:[for sound] Change-Id: I92b176d0c6708eb69e1318f244382e72b679ec39 --- src/slic3r/GUI/DeviceManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index 2342058e2..6b42b34d2 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -1394,6 +1394,10 @@ void MachineObject::parse_status(int flag) xcam_allow_prompt_sound = ((flag >> 17) & 0x1) != 0; } + if (((flag >> 18) & 0x1) != 0) { + is_support_prompt_sound = true; + } + is_support_filament_tangle_detect = ((flag >> 19) & 0x1) != 0; is_support_user_preset = ((flag >> 22) & 0x1) != 0; if (xcam_filament_tangle_detect_count > 0)