mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-07-02 09:01:37 +00:00
30083efdd7
The GPS NMEA UART used Arduino's default 256-byte RX ring (~66 ms of slack at 38400 baud). On the busy touch UI a single long LVGL/map frame stalls the loop past that window, dropping bytes and corrupting NMEA ephemeris subframes — each loss costs the receiver ~30 s, turning a ~1-minute fix into several minutes or, with frequent stalls, never acquiring. Confirmed on-device: peak UART backlog hit 448 B at idle, well past the 256 B default. Bump the ring to 4096 B (~1 s of slack) before the core opens Serial1 in sensors.begin(). App-side (no core re-tag); gated to ENV_INCLUDE_GPS so both touch boards get it. A -DGPS_BUF_DEBUG backlog probe is included (compiled out of releases). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>