Added support for flash memory inspection
This commit is contained in:
@@ -64,6 +64,12 @@ namespace Bloom
|
||||
);
|
||||
}
|
||||
|
||||
if (jsonObject.contains("flashInspectionPaneState")) {
|
||||
this->flashInspectionPaneState = this->paneStateFromJson(
|
||||
jsonObject.find("flashInspectionPaneState")->toObject()
|
||||
);
|
||||
}
|
||||
|
||||
if (jsonObject.contains("memoryInspectionPaneSettings")) {
|
||||
const auto settingsMappingObj = jsonObject.find("memoryInspectionPaneSettings")->toObject();
|
||||
|
||||
@@ -144,6 +150,13 @@ namespace Bloom
|
||||
);
|
||||
}
|
||||
|
||||
if (this->flashInspectionPaneState.has_value()) {
|
||||
insightObj.insert(
|
||||
"flashInspectionPaneState",
|
||||
this->paneStateToJson(this->flashInspectionPaneState.value())
|
||||
);
|
||||
}
|
||||
|
||||
return insightObj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user