mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
Revise handling of msp CRC errors to prevent referencing undefined objects and allow blackbox packets to retry
This commit is contained in:
parent
8a286bdeed
commit
0dd0839b54
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ var MSP = {
|
|||
var bufferOut,
|
||||
bufView;
|
||||
|
||||
if (callback_onerror === undefined) {
|
||||
if (!callback_onerror) {
|
||||
var callbackOnError = false;
|
||||
} else {
|
||||
var callbackOnError = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue