v2.0: Full localization (6 languages), first-run language screen, aircraft detail overhaul, aircraft-model API fallback, and multiple bugfixes

This commit is contained in:
Eiswolf-BG
2026-08-04 01:32:44 +02:00
parent 4e8bfcd30c
commit 665130e8bb
45 changed files with 2705 additions and 240 deletions

17
src/location_presets.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <Arduino.h>
namespace LocationPresets {
constexpr uint8_t MAX_PRESETS = 3;
void init();
uint8_t count();
void getLatLon(uint8_t index, double& lat, double& lon);
bool addPreset(double lat, double lon);
void removePreset(uint8_t index);
int8_t activeIndex();
void setActiveIndex(int8_t index);
}