mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 17:55:24 +03:00
Merge pull request #174 from MauroMombelli/patch-3
fix for undefined function
This commit is contained in:
commit
726c895c0a
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ var MSP = {
|
||||||
// always send messages with data payload (even when there is a message already in the queue)
|
// always send messages with data payload (even when there is a message already in the queue)
|
||||||
if (data || !requestExists) {
|
if (data || !requestExists) {
|
||||||
serial.send(bufferOut, function (sendInfo) {
|
serial.send(bufferOut, function (sendInfo) {
|
||||||
if (sendInfo.bytesSent == bufferOut.length) {
|
if (sendInfo.bytesSent == bufferOut.byteLength) {
|
||||||
if (callback_sent) callback_sent();
|
if (callback_sent) callback_sent();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue