mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
upgrading cleanup routine to latest serial
This commit is contained in:
parent
6643e248b9
commit
8acb539f70
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
|||
bufView[3] = 0x74; // t
|
||||
bufView[4] = 0x0D; // enter
|
||||
|
||||
chrome.serial.write(connectionId, bufferOut, function(writeInfo) {
|
||||
serial.send(bufferOut, function(writeInfo) {
|
||||
// we could handle this "nicely", but this will do for now
|
||||
// (another approach is however much more complicated):
|
||||
// we can setup an interval asking for data lets say every 200ms, when data arrives, callback will be triggered and tab switched
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue