mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 10:17:58 -05:00
ENH:get sound support through homeflag
jira:[for sound] Change-Id: I92b176d0c6708eb69e1318f244382e72b679ec39
This commit is contained in:
1 parent
2ac41509d7
commit
77ec16b4cd
1 file changed
+4
@@ -1381,6 +1381,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;
|
||||
if (xcam_filament_tangle_detect_count > 0)
|
||||
xcam_filament_tangle_detect_count--;
|
||||
|
||||
Reference in new issue
Block a user