Add Eco Mode power saving feature (60s ADS-B poll, WiFi sleep)

This commit is contained in:
2026-08-15 22:53:05 +02:00
parent b807b51f1f
commit df8330d1e3
14 changed files with 71 additions and 52 deletions

View File

@@ -50,6 +50,11 @@ constexpr float RANGE_STEPS_KM[] = {10.0f, 25.0f, 50.0f, 100.0f};
constexpr uint8_t RANGE_STEP_COUNT = 4;
constexpr uint8_t DEFAULT_RANGE_INDEX = 1;
// Eco-Mode: reduziert die ADS-B-Abfragefrequenz auf dieses Intervall
// (statt FETCH_INTERVAL_MS), wenn der Bildschirm durch Inaktivitaets-
// Timeout abgeschaltet ist (siehe main.cpp).
constexpr uint32_t ECO_FETCH_INTERVAL_MS = 60000;
constexpr uint8_t ALT_FILTER_COUNT = 3;
constexpr uint8_t DEFAULT_ALT_FILTER_INDEX = 0;