mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
adding method to empty send buffer, limits
This commit is contained in:
parent
c7dae0f5e3
commit
c389a71ece
3 changed files with 18 additions and 4 deletions
|
@ -204,7 +204,8 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
|||
if (callback) callback();
|
||||
break;
|
||||
case 'sensors':
|
||||
GUI.interval_kill_all(['port-update', 'port_usage', 'serial_read']);
|
||||
GUI.interval_kill_all(['port-update', 'port_usage']);
|
||||
serial.empty_output_buffer();
|
||||
|
||||
// sensor data tab uses scrollbars, emptying the content before loading another tab
|
||||
// prevents scrollbar exposure to any of the tabs while new content is loaded in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue