Disabled compressed size display for uncompressed data
parent
845f6b3524
commit
6db0b08048
|
@ -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…
Reference in New Issue