v1: Live ADS-B radar with detail panel, units, legend, proximity LED alert

This commit is contained in:
Eiswolf-BG
2026-08-02 23:28:42 +02:00
commit 52c8009296
42 changed files with 2939 additions and 0 deletions

23
src/location_manager.h Normal file
View File

@@ -0,0 +1,23 @@
#pragma once
#include <Arduino.h>
namespace LocationManager {
enum class Source { GpsFix, IpGeolocation, Manual, Persisted, None };
void init();
void update();
void requestIpLookupIfNeeded();
void getHomeLocation(double& lat, double& lon);
Source currentSource();
void setManualLocation(double lat, double lon);
void setGpsEnabled(bool enabled);
bool isGpsEnabled();
void cycleGpsPinPair();
const char* currentGpsPinLabel();
bool hasGpsFix();
}