v2.7.5: Logbook Web UI menu entry, per-day CSV delete, remove screenshot feature
Adds a "Logbook / WebUI" entry directly in Menu > System, showing the device's IP and usage instructions (previously only reachable via a hidden "?" button in Logbook Files). The web export page now supports downloading and deleting individual daily logbook CSV files, in addition to the existing merged CSV download. Fixes a task watchdog reset that could reboot the device mid-download when exporting the logbook via the built-in web server: the CSV send loop never yielded the CPU, starving the idle task on larger logbooks. The export loop now yields periodically (delay(1) every 10 lines and after each file). Removes the screenshot feature (camera button, on-device BMP storage, web-based screenshot browser). Screenshots always came out solid black - diagnosis showed the SPI readback from the display returns all zeros regardless of SPI_READ_FREQUENCY, indicating TFT_MISO isn't wired to the display on this CYD board revision. This is a hardware limitation, not fixable in software, so the feature has been removed rather than shipped broken. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
16
src/i18n.h
16
src/i18n.h
@@ -152,9 +152,6 @@ enum class StringId : uint8_t {
|
||||
DETAIL_LEVEL,
|
||||
DETAIL_SQUAWK,
|
||||
|
||||
SCREENSHOT_SAVED_PREFIX,
|
||||
SCREENSHOT_FAILED,
|
||||
|
||||
UNITS_TITLE,
|
||||
UNITS_AUTO,
|
||||
UNITS_METRIC,
|
||||
@@ -204,6 +201,19 @@ enum class StringId : uint8_t {
|
||||
LOCATION_PRESETS_FULL,
|
||||
LOCATION_INFO_PARA5,
|
||||
|
||||
// Neuer, direkt im System-Menue erreichbarer Punkt "Logbuch/WebUI"
|
||||
// (statt nur ueber das versteckte "?" im Logbuch-Dateien-Screen) -
|
||||
// zeigt IP + Erklaerung der Weboberflaeche (Flugbuch
|
||||
// ansehen/herunterladen/loeschen). Die urspruenglich hier mit
|
||||
// enthaltene Screenshot-Verwaltung wurde wieder entfernt, siehe
|
||||
// Entfernung von SCREENSHOT_SAVED_PREFIX/SCREENSHOT_FAILED oben - das
|
||||
// Bildschirm-Auslesen (SPI-Readback) funktioniert auf diesem
|
||||
// CYD-Board hardwareseitig nicht (TFT_MISO nicht angebunden).
|
||||
MENU_LOGBOOK_WEBUI,
|
||||
WEBUI_TITLE,
|
||||
WEBUI_INFO_PARA1,
|
||||
WEBUI_INFO_PARA2,
|
||||
|
||||
COUNT
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user