1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 22:05:13 +03:00

Revise handling of msp CRC errors to prevent referencing undefined objects and allow blackbox packets to retry

This commit is contained in:
Bruce Luckcuck 2017-02-06 21:13:12 -05:00
parent 8a286bdeed
commit 0dd0839b54
2 changed files with 2 additions and 2 deletions

View file

@ -1300,7 +1300,7 @@ MspHelper.prototype.dataflashRead = function(address, blockSize, onDataCallback)
console.log('CRC error for address ' + address + ' - retrying');
onDataCallback(address, null); // returning null to the callback forces a retry
}
},true);
}, true);
};
MspHelper.prototype.sendServoConfigurations = function(onCompleteCallback) {