Add Eco Mode power saving feature (60s ADS-B poll, WiFi sleep)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user