mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
NEW:installed & supported p1p(plus)
jira:[pip plus] Change-Id: I0a69f8629749e3076465b85f28aa39d5e7ae6277
This commit is contained in:
@@ -1378,9 +1378,13 @@ void MachineObject::parse_status(int flag)
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user