Add PA-profile sharing toggle to the device send dialog

This commit is contained in:
SoftFever
2026-07-16 02:47:47 +08:00
parent d591d50ca0
commit 7cc572be47
6 changed files with 77 additions and 7 deletions

View File

@@ -5105,6 +5105,7 @@ void MachineObject::parse_new_info(json print)
// fun2 may have infinite length, use get_flag_bits_no_border
if (!fun2.empty()) {
is_support_print_with_emmc = get_flag_bits_no_border(fun2, 0) == 1;
is_support_pa_mode = (get_flag_bits_no_border(fun2, 3) == 1);
is_support_remote_dry = (get_flag_bits_no_border(fun2, 5) == 1);
is_support_check_track_switch_match_slice_printer = get_flag_bits_no_border(fun2, 19) == 1;
}