Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: betaflight/betaflight-configurator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6af758f103ee04ae83869725adf561d8e2195022
Choose a base ref
..
head repository: betaflight/betaflight-configurator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1f1031b4c29510a09e0452a8cc0bec2c7f1af373
Choose a head ref
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/js/msp.js
6 changes: 4 additions & 2 deletions src/js/msp.js
Original file line number Diff line number Diff line change
@@ -364,8 +364,10 @@ const MSP = {
MSP.callbacks.push(obj);

serial.send(bufferOut, function (sendInfo) {
if (sendInfo.bytesSent == bufferOut.length) {
if (callback_sent) callback_sent();
if (sendInfo.bytesSent === bufferOut.length) {
if (callback_sent) {
callback_sent();
}
}
});