mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 21:05:28 +03:00
reset status bar members after disconnecting
This commit is contained in:
parent
3574953c38
commit
4cf41a4296
2 changed files with 5 additions and 3 deletions
|
@ -119,10 +119,12 @@ $(document).ready(function() {
|
|||
|
||||
GUI.connected_to = false;
|
||||
|
||||
// Change port utilization to 0
|
||||
// Reset various UI elements
|
||||
$('span.port-usage').html('0%');
|
||||
MSP.packet_error = 0; // reset CRC packet error counter for next session
|
||||
$('.software-version').html('0.0');
|
||||
$('span.cycle-time').html('0');
|
||||
|
||||
MSP.packet_error = 0; // reset CRC packet error counter for next session
|
||||
configuration_received = false; // reset valid config received variable (used to block tabs while not connected properly)
|
||||
|
||||
// unlock port select & baud
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue