Merge PowerSaving v16 updates

This commit is contained in:
mikecarper committed 2026-07-24 01:34:35 -07:00
commit 9a4834b192
15 files changed
+321 -83

No files matched your search

+7
View File
@@ -127,6 +127,13 @@ void setup() {
ethernet_command[0] = 0;
#endif
#if ENV_INCLUDE_GPS == 1
if (sensors.getLocationProvider() != NULL) {
// Keep GPS awake for at most 10 minutes, then asleep for one day.
sensors.getLocationProvider()->setPowerSavingProfile(600, 86400);
}
#endif
sensors.begin();
the_mesh.begin(fs);