mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-21 00:13:14 +08:00
ENH:get sound support through homeflag
jira:[for sound] Change-Id: I92b176d0c6708eb69e1318f244382e72b679ec39
This commit is contained in:
parent
d94c87879d
commit
9920e3983e
@ -1394,6 +1394,10 @@ void MachineObject::parse_status(int flag)
|
|||||||
xcam_allow_prompt_sound = ((flag >> 17) & 0x1) != 0;
|
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_filament_tangle_detect = ((flag >> 19) & 0x1) != 0;
|
||||||
is_support_user_preset = ((flag >> 22) & 0x1) != 0;
|
is_support_user_preset = ((flag >> 22) & 0x1) != 0;
|
||||||
if (xcam_filament_tangle_detect_count > 0)
|
if (xcam_filament_tangle_detect_count > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user