mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 03:19:54 +03:00
Activate / deactivate groundstation mode
This commit is contained in:
parent
c7b924e67b
commit
1f718efe07
2 changed files with 22 additions and 4 deletions
|
@ -129,6 +129,11 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
$('div.connect_controls a.connect').click(function () {
|
||||
|
||||
if (helper.groundstation.isActivated()) {
|
||||
helper.groundstation.deactivate();
|
||||
}
|
||||
|
||||
if (GUI.connect_lock != true) { // GUI control overrides the user control
|
||||
|
||||
var clicks = $(this).data('clicks');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue