mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Reset all FC configuration state on connect to prevent side effects when
configuring multiple FC's without restarting the configurator each time.
This commit is contained in:
parent
7b5d074747
commit
5c2273bd65
4 changed files with 255 additions and 214 deletions
|
@ -178,6 +178,7 @@ function onOpen(openInfo) {
|
|||
}
|
||||
}, 10000);
|
||||
|
||||
FC.resetState();
|
||||
|
||||
// request configuration data
|
||||
MSP.send_message(MSP_codes.MSP_API_VERSION, false, false, function () {
|
||||
|
@ -285,7 +286,6 @@ function onClosed(result) {
|
|||
|
||||
var dataflash = $('#dataflash_wrapper_global');
|
||||
dataflash.hide();
|
||||
|
||||
}
|
||||
|
||||
function read_serial(info) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue