Disabled compressed size display for uncompressed data

10.3.x-maintenance
DieHertz 2017-08-01 22:59:33 +03:00
parent 845f6b3524
commit 6db0b08048
1 changed files with 1 additions and 1 deletions

View File

@ -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();