mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
blind ports
This commit is contained in:
parent
8acb539f70
commit
fd576711a9
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ function tab_initialize_cli() {
|
||||||
|
|
||||||
bufView[0] = 0x23; // #
|
bufView[0] = 0x23; // #
|
||||||
|
|
||||||
chrome.serial.write(connectionId, bufferOut, function(writeInfo) {});
|
serial.send(bufferOut, function(writeInfo) {});
|
||||||
|
|
||||||
var textarea = $('.tab-cli textarea');
|
var textarea = $('.tab-cli textarea');
|
||||||
textarea.keypress(function(event) {
|
textarea.keypress(function(event) {
|
||||||
|
@ -102,7 +102,7 @@ function send_slowly(out_arr, i, timeout_needle) {
|
||||||
|
|
||||||
bufView[out_arr[i].length] = 0x0D; // enter (\n)
|
bufView[out_arr[i].length] = 0x0D; // enter (\n)
|
||||||
|
|
||||||
chrome.serial.write(connectionId, bufferOut, function(writeInfo) {});
|
serial.send(bufferOut, function(writeInfo) {});
|
||||||
}, timeout_needle * 5);
|
}, timeout_needle * 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue