mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
ditch some empty callbacks that are now gracefully handled inside the serial layer
This commit is contained in:
parent
636feb6988
commit
c0284f1134
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ TABS.cli.initialize = function (callback) {
|
||||||
|
|
||||||
bufView[0] = 0x23; // #
|
bufView[0] = 0x23; // #
|
||||||
|
|
||||||
serial.send(bufferOut, function (writeInfo) {});
|
serial.send(bufferOut);
|
||||||
|
|
||||||
var textarea = $('.tab-cli textarea');
|
var textarea = $('.tab-cli textarea');
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ TABS.cli.sendSlowly = function (out_arr, i, timeout_needle) {
|
||||||
|
|
||||||
bufView[out_arr[i].length] = 0x0D; // enter (\n)
|
bufView[out_arr[i].length] = 0x0D; // enter (\n)
|
||||||
|
|
||||||
serial.send(bufferOut, function (writeInfo) {});
|
serial.send(bufferOut);
|
||||||
}, timeout_needle * 5);
|
}, timeout_needle * 5);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue