Fix full chip erase (#3405)
parent
e15cb55e24
commit
92484c3c44
|
@ -494,7 +494,7 @@ firmware_flasher.initialize = function (callback) {
|
|||
const options = {};
|
||||
|
||||
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;
|
||||
|
||||
eraseAll = true;
|
||||
|
|
Loading…
Reference in New Issue