Added support for flash memory inspection

This commit is contained in:
Nav
2023-05-03 23:13:22 +01:00
parent da5db96f11
commit eca86fcb1a
18 changed files with 316 additions and 52 deletions

View File

@@ -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;
}