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) {
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue