Merge IoTThinks PowerSaving-v17
Port current-compatible power-saving updates while retaining newer local implementations.
This commit is contained in:
commit
32a681a59b
10 files changed
+115
-31
No files matched your search
@@ -224,6 +224,7 @@ private:
|
||||
|
||||
#if ENV_INCLUDE_GPS == 1
|
||||
void applyGpsPrefs() {
|
||||
sensors.setPowerSavingEnabled(_prefs.powersaving_enabled != 0);
|
||||
sensors.setSettingValue("gps", _prefs.gps_enabled?"1":"0");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user