diff --git a/firmware.bin b/firmware.bin index bc9fe4a..6665e7a 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/index.html b/index.html index 034700b..328849c 100644 --- a/index.html +++ b/index.html @@ -112,7 +112,7 @@
Install the latest Flightradar firmware directly from your browser to your Cheap Yellow Display.
diff --git a/src/config.h b/src/config.h index 2f3aceb..3ff9a78 100644 --- a/src/config.h +++ b/src/config.h @@ -6,7 +6,7 @@ namespace Config { // CLAUDE.md-Workflow "Standard-Workflow: Push & Release") - erscheint // im Info-Screen (Menue > System > Info) und muss zum jeweiligen // Git-Tag passen. - constexpr const char* APP_VERSION = "3.6.2"; + constexpr const char* APP_VERSION = "3.6.3"; // Display-Helligkeit (Menue > System > Helligkeit), in Prozent. // MIN bewusst nicht 0 - ein komplett dunkles Display koennte sonst wie diff --git a/src/flight_logbook.cpp b/src/flight_logbook.cpp index d4e6c79..1003584 100644 --- a/src/flight_logbook.cpp +++ b/src/flight_logbook.cpp @@ -92,7 +92,7 @@ namespace { if (buf[i] == '\n') lines++; } blocksRead++; - if (blocksRead % 8 == 0) yield(); + if (blocksRead % 8 == 0) delay(1); } return lines; } @@ -141,7 +141,7 @@ namespace { } } blocksRead++; - if (blocksRead % 8 == 0) yield(); + if (blocksRead % 8 == 0) delay(1); } f.close(); } @@ -284,6 +284,7 @@ TopAltitude todayMaxAltitude() { if (!f) return result; bool firstLine = true; + uint32_t lineIdx = 0; while (f.available()) { String line = f.readStringUntil('\n'); if (firstLine) { firstLine = false; continue; } // CSV-Header ueberspringen @@ -315,7 +316,8 @@ TopAltitude todayMaxAltitude() { strncpy(result.callsign, callsign.c_str(), sizeof(result.callsign) - 1); result.callsign[sizeof(result.callsign) - 1] = 0; } - yield(); + lineIdx++; + if (lineIdx % 16 == 0) delay(1); } f.close();