1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 21:05:30 +03:00

Fixed vulnerabilities found by SonarCloud.

This commit is contained in:
mikeller 2019-11-02 21:06:33 +13:00
parent 9bf2595cdc
commit 36f29108d9
2 changed files with 11 additions and 16 deletions

View file

@ -69,9 +69,6 @@ MspHelper.prototype.process_data = function(dataHandler) {
var data = dataHandler.dataView; // DataView (allowing us to view arrayBuffer as struct/union)
var code = dataHandler.code;
if (code === 0) {
debugger;
}
var crcError = dataHandler.crcError;
if (!crcError) {
if (!dataHandler.unsupported) switch (code) {