mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
created MSP disconnect cleanup routine
This commit is contained in:
parent
575f5ac8ef
commit
21af65567c
2 changed files with 17 additions and 3 deletions
|
@ -143,8 +143,7 @@ $(document).ready(function() {
|
|||
$('.software-version').html('0.0');
|
||||
$('span.cycle-time').html('0');
|
||||
|
||||
MSP.state = 0; // reset packet state for "clean" initial entry (this is only required if user hot-disconnects)
|
||||
MSP.packet_error = 0; // reset CRC packet error counter for next session
|
||||
MSP.disconnect_cleanup();
|
||||
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