v2.6.0: Show highest-altitude flight of the day on Statistics screen
Adds FlightLogbook::todayMaxAltitude(), which scans today's logbook CSV for the entry with the greatest altitude at first sighting, and displays it as "Highest flight today: <callsign> (<alt> ft)" on the Statistics screen (Menu -> Flight Options -> Statistics). Also documents the CYD-flightradar.bin rename step (for GitHub release uploads) in the CLAUDE.md release workflow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,18 @@ namespace FlightLogbook {
|
||||
|
||||
uint16_t todayCount();
|
||||
|
||||
struct TopAltitude {
|
||||
bool found = false;
|
||||
char callsign[9] = {0};
|
||||
int32_t altitudeFt = 0;
|
||||
};
|
||||
|
||||
// Sucht in der heutigen Logbuch-Datei den Eintrag mit der hoechsten
|
||||
// geloggten Flughoehe (jeweils die Hoehe BEIM ERSTEN Sichten, nicht der
|
||||
// aktuelle Wert) und gibt dessen Rufzeichen + Hoehe zurueck. found=false,
|
||||
// wenn heute noch nichts geloggt wurde oder die Datei fehlt.
|
||||
TopAltitude todayMaxAltitude();
|
||||
|
||||
void computeAllTimeStats(uint32_t& totalAircraft, uint16_t& totalDays);
|
||||
|
||||
struct DayEntry {
|
||||
|
||||
Reference in New Issue
Block a user