mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Disabled compressed size display for uncompressed data
This commit is contained in:
parent
845f6b3524
commit
6db0b08048
1 changed files with 1 additions and 1 deletions
|
@ -1553,7 +1553,7 @@ MspHelper.prototype.dataflashRead = function(address, blockSize, onDataCallback)
|
|||
* figure out the reply format:
|
||||
*/
|
||||
if (dataCompressionType == 0) {
|
||||
onDataCallback(address, new DataView(response.data.buffer, response.data.byteOffset + headerSize, dataSize), dataSize);
|
||||
onDataCallback(address, new DataView(response.data.buffer, response.data.byteOffset + headerSize, dataSize));
|
||||
} else if (dataCompressionType == 1) {
|
||||
// Read compressed char count to avoid decoding stray bit sequences as bytes
|
||||
var compressedCharCount = response.data.readU16();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue