mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-17 09:01:55 +00:00
Preserve the real ESP/Pager GPS map runtime view state across menu exit and re-entry by caching zoom, center, pan, and follow mode outside the reset GPSPageState lifecycle and updating the cache when map controls, touch pan, route focus, tracker focus, or GPS follow refresh change the view.
Shared Modules
This directory will contain platform-independent business and reusable logic.
Examples of intended module types:
- chat domain and use cases
- GPS logic and filtering
- team/domain/protocol logic
- hostlink protocol logic
- shared system abstractions
- non-visual UI state/presenter logic
Code placed here should not directly depend on Arduino, ESP-IDF, FreeRTOS, LVGL, board headers, or hardware drivers.