mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-18 22:05:13 +03:00
Fixed dataflash not being available for selection while being erased.
This commit is contained in:
parent
8246b0728d
commit
f15904a6cf
2 changed files with 2 additions and 2 deletions
|
@ -1000,7 +1000,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
if (data.byteLength >= 13) {
|
||||
var flags = data.readU8();
|
||||
DATAFLASH.ready = (flags & 1) != 0;
|
||||
DATAFLASH.supported = (flags & 2) != 0 || DATAFLASH.ready;
|
||||
DATAFLASH.supported = (flags & 2) != 0;
|
||||
DATAFLASH.sectors = data.readU32();
|
||||
DATAFLASH.totalSize = data.readU32();
|
||||
DATAFLASH.usedSize = data.readU32();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue