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>
12 lines
360 B
C++
12 lines
360 B
C++
#pragma once
|
|
#include <Arduino.h>
|
|
#include <TFT_eSPI.h>
|
|
|
|
namespace WebUiScreen {
|
|
// Blockierend: zeigt die WLAN-IP und eine Erklaerung der kleinen
|
|
// eingebauten Webseite (Flugbuch ansehen/herunterladen/loeschen,
|
|
// Screenshots ansehen/herunterladen/loeschen). Kehrt zurueck, sobald
|
|
// "Zurueck" angetippt wurde.
|
|
void run(TFT_eSPI& tft);
|
|
}
|