feat(doorbell): add staged boot sequence and refactor main loop

This commit is contained in:
2026-02-18 00:35:48 -08:00
parent 6cff6d4bf4
commit cd74b501db
16 changed files with 285 additions and 134 deletions

View File

@@ -18,7 +18,7 @@ public:
int height() override { return DISPLAY_HEIGHT; }
private:
void drawBoot();
void drawBoot(const ScreenState& st);
void drawAlert(const ScreenState& st);
void drawDashboard(const ScreenState& st);
@@ -27,5 +27,6 @@ private:
bool _holdActive = false;
uint32_t _holdStartMs = 0;
ScreenID _lastScreen = ScreenID::BOOT;
BootStage _lastBootStage = BootStage::SPLASH;
bool _needsRedraw = true;
};