mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
Previous fix appended missing pages only when there was room (cur_len < PAGE_ORDER_LEN). On e-ink builds with GPS+SENSORS the default order fills all 11 slots; old saves that included SHUTDOWN instead of TOOLS/QUICK_MSG had no room to append the missing entries. Now, if the array is full and a required page is absent, SHUTDOWN is evicted first (it is appended at runtime by buildVisibleOrder's fallback and does not need to be in the explicit list). This frees a slot for the missing page. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>