fix: wire through silent restart clear resume state with sdk (#2033)

## Summary

After a silent reboot, there was a small window where the esp32 would
listen for button presses but the full refresh would hold the event
loop. This gave a UX experience where the silent reboot had completed to
the home screen, a user taps select (at any time during the process),
and they find themselves unexpectedly in a book.

## Additional Context

This must land after
https://github.com/crosspoint-reader/community-sdk/pull/11 and will need
the submodule SHA changes included in. 

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? partially
This commit is contained in:
Jeremy Klein
2026-05-20 08:58:43 -04:00
committed by GitHub
parent 0b9d1a7d23
commit 3800179595
4 changed files with 46 additions and 13 deletions
+6 -1
View File
@@ -17,7 +17,12 @@ class HalDisplay {
FAST_REFRESH // Fast refresh using custom LUT
};
// Initialize the display hardware and driver
// Pass seamless=true on any path where the panel already shows the
// content it should after begin() returns (silent reboot's popup,
// sleep-wake with a restored buffer). Skips the wakeup-gated
// requestResync() and defuses the SDK's X3 _x3InitialFullSyncsRemaining
// counter; otherwise the first two paints get promoted to FULL
// (~770ms each on X3).
void begin(bool seamless = false);
// Display dimensions