diff --git a/main/gen_gdl90.go b/main/gen_gdl90.go index 0d20a9869..e83036b4c 100644 --- a/main/gen_gdl90.go +++ b/main/gen_gdl90.go @@ -989,7 +989,6 @@ type settings struct { PPM int OwnshipModeS string WatchList string - PowerSave bool } type status struct { diff --git a/main/managementinterface.go b/main/managementinterface.go index 013fad800..da4f16f58 100644 --- a/main/managementinterface.go +++ b/main/managementinterface.go @@ -201,8 +201,6 @@ func handleSettingsSetRequest(w http.ResponseWriter, r *http.Request) { globalSettings.GPS_Enabled = val.(bool) case "AHRS_Enabled": globalSettings.AHRS_Enabled = val.(bool) - case "PowerSave": - globalSettings.PowerSave = val.(bool) case "DEBUG": globalSettings.DEBUG = val.(bool) case "ReplayLog": diff --git a/main/sdr.go b/main/sdr.go index 615ddb5b9..c4f77f2a6 100644 --- a/main/sdr.go +++ b/main/sdr.go @@ -348,7 +348,7 @@ func sdrWatcher() { // UAT specific handling // Shutdown UAT for 50 seconds, check every 60 seconds if the count is 0. - if globalSettings.PowerSave && stratuxClock.Since(lastUATCheck) >= 1*time.Minute { + if stratuxClock.Since(lastUATCheck) >= 1*time.Minute { if UATDev != nil && globalStatus.UAT_messages_last_minute == 0 { log.Printf("Pausing UAT listening for 50 seconds - none received.\n") UATDev.shutdown() diff --git a/web/plates/js/settings.js b/web/plates/js/settings.js index ab38b12ab..71b239907 100755 --- a/web/plates/js/settings.js +++ b/web/plates/js/settings.js @@ -6,7 +6,7 @@ function SettingsCtrl($rootScope, $scope, $state, $http) { $scope.$parent.helppage = 'plates/settings-help.html'; - var toggles = ['UAT_Enabled', 'ES_Enabled', 'GPS_Enabled', 'AHRS_Enabled', 'PowerSave', 'DEBUG', 'ReplayLog']; // DEBUG is 'DspTrafficSrc' + var toggles = ['UAT_Enabled', 'ES_Enabled', 'GPS_Enabled', 'AHRS_Enabled', 'DEBUG', 'ReplayLog']; // DEBUG is 'DspTrafficSrc' var settings = {}; for (i = 0; i < toggles.length; i++) { settings[toggles[i]] = undefined; diff --git a/web/plates/settings.html b/web/plates/settings.html index 39d736242..37d094af2 100755 --- a/web/plates/settings.html +++ b/web/plates/settings.html @@ -28,12 +28,6 @@ -
- -
- -
-