mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Adds an "Export saved" item in the action popup (shown when /trail exists). Streams GPX directly from the saved file to USB Serial, skipping the RAM ring entirely — useful for dumping an old recording after reboot when the live ring is empty (or busy with another recording you don't want to overwrite via Load). Refactors exportGpx into three helpers (gpxHeader, gpxPoint, gpxFooter) shared by the RAM and file paths so the markup stays consistent. The file path validates the same TRAL magic + version it accepts on Load. handleExport and the new handleExportSaved both route through showExportAlert so the "GPX N B (USB)" / "GPX N B - disc. app" hint keeps reflecting the BLE-app-collision state described last time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>