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:
parent
9bf2595cdc
commit
36f29108d9
2 changed files with 11 additions and 16 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue