Fix full chip erase (#3405)

master
Mark Haslinghuis 2023-04-06 22:56:18 +02:00 committed by GitHub
parent e15cb55e24
commit 92484c3c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ firmware_flasher.initialize = function (callback) {
const options = {}; const options = {};
let eraseAll = false; let eraseAll = false;
if ($('input.erase_chip').is(':checked') || expertMode_e.not(':checked')) { if ($('input.erase_chip').is(':checked') || expertMode_e.is(':not(:checked)')) {
options.erase_chip = true; options.erase_chip = true;
eraseAll = true; eraseAll = true;