mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
feat(l1): messages kept on flash across a power-off, and "Powered off" on e-ink
Settings > Messages > Keep messages (Off, 500, 1000, 2500 in all; off by default; HIST_FLASH, ui-core/HistoryLog.h). Two append-only logs on the QSPI flash, channels and DMs, restored into the RAM rings at the start. A batch is written a minute after the first unsaved change and at shutdown, as the L1's power switch gives no warning. Each segment has a directory of its own: a LittleFS 1.x commit erases one of a directory's two fixed blocks every time. E-ink panels keep their last frame, so a shutdown now leaves "Powered off" on it and puts the controller into deep sleep. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ build flag it needs.
|
||||
| Channels, direct, rooms | yes | yes | yes | yes | yes, one screen with sections |
|
||||
| Opens on the first unread, "New" line | yes | yes | yes | yes | yes |
|
||||
| Bubbles | 2-line boxes | whole text | whole text | whole text | whole text |
|
||||
| History kept | 48 ch / 32 DM | same | same | same | 256 / 128 in memory, all on SD (`HIST_ARCHIVE`) |
|
||||
| History kept | 48 ch / 32 DM | same; the L1s can keep it on flash across a power-off (`HIST_FLASH`) | same | same | 256 / 128 in memory, all on SD (`HIST_ARCHIVE`) |
|
||||
| Path of a message | Path list | same | same | same | path diagram on the card |
|
||||
| Quick messages, placeholders | yes | yes | yes | yes | yes |
|
||||
| Bytes left while typing | yes | yes | yes | yes | yes |
|
||||
|
||||
Reference in New Issue
Block a user