Erase DPM on GS101 devices

This commit is contained in:
flawedworld 2022-08-22 23:51:26 +01:00 committed by Daniel Micay
parent 8805682309
commit b6f2134e8f

View File

@ -241,6 +241,9 @@ async function flashRelease(setProgress) {
if (gs101Devices.includes(product)) {
setProgress("Disabling FIPS...");
await device.runCommand("erase:fips");
setProgress("Erasing DPM...");
await device.runCommand("erase:dpm_a");
await device.runCommand("erase:dpm_b");
}
} finally {
safeToLeave = true;