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

Merge pull request #174 from MauroMombelli/patch-3

fix for undefined function
This commit is contained in:
Dominic Clifton 2015-05-07 19:08:53 +01:00
commit 726c895c0a

View file

@ -868,7 +868,7 @@ var MSP = {
// always send messages with data payload (even when there is a message already in the queue)
if (data || !requestExists) {
serial.send(bufferOut, function (sendInfo) {
if (sendInfo.bytesSent == bufferOut.length) {
if (sendInfo.bytesSent == bufferOut.byteLength) {
if (callback_sent) callback_sent();
}
});