Add altitude filter [A] button to radar info bar

This commit is contained in:
2026-08-15 22:02:13 +02:00
parent 3778f3a506
commit d89fba5200
4 changed files with 53 additions and 11 deletions

View File

@@ -46,10 +46,13 @@ namespace Config {
constexpr uint8_t GPS_PIN_CANDIDATE_COUNT = 1;
constexpr uint32_t GPS_BAUD = 9600;
constexpr float RANGE_STEPS_KM[] = {10.0f, 25.0f, 50.0f, 100.0f};
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;
constexpr uint8_t ALT_FILTER_COUNT = 3;
constexpr uint8_t DEFAULT_ALT_FILTER_INDEX = 0;
constexpr const char* ADSB_API_HOST = "opendata.adsb.fi";
constexpr uint16_t ADSB_API_PORT = 443;
constexpr uint32_t FETCH_INTERVAL_MS = 8000;