1
0
Fork 0
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:
cTn 2014-12-06 15:35:12 +01:00
parent 636feb6988
commit c0284f1134

View file

@ -25,7 +25,7 @@ TABS.cli.initialize = function (callback) {
bufView[0] = 0x23; // #
serial.send(bufferOut, function (writeInfo) {});
serial.send(bufferOut);
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)
serial.send(bufferOut, function (writeInfo) {});
serial.send(bufferOut);
}, timeout_needle * 5);
};