mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-30 06:33:16 +08:00
NEW:installed & supported p1p(plus)
jira:[pip plus] Change-Id: I0a69f8629749e3076465b85f28aa39d5e7ae6277
This commit is contained in:
parent
b6e0049bea
commit
4542ccae63
@ -1378,9 +1378,13 @@ void MachineObject::parse_status(int flag)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!is_support_p1s_plus) {
|
if (!is_support_p1s_plus) {
|
||||||
is_support_p1s_plus = ((flag >> 27) & 0x1) != 0;
|
auto supported_plus = ((flag >> 27) & 0x1) != 0;
|
||||||
}
|
auto installed_plus = ((flag >> 26) & 0x1) != 0;
|
||||||
|
|
||||||
|
if (installed_plus && supported_plus) {
|
||||||
|
is_support_p1s_plus = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sdcard_state = MachineObject::SdcardState((flag >> 8) & 0x11);
|
sdcard_state = MachineObject::SdcardState((flag >> 8) & 0x11);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user