1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2024-03-07 21:03:45 +01:00
parent c7b924e67b
commit 1f718efe07
2 changed files with 22 additions and 4 deletions

View file

@ -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');