feat(doorbell): add staged boot sequence and refactor main loop
This commit is contained in:
@@ -24,6 +24,7 @@ public:
|
||||
|
||||
private:
|
||||
// Helper rendering functions
|
||||
void drawBoot(const ScreenState& state);
|
||||
void drawAlert(const ScreenState& state);
|
||||
void drawDashboard(const ScreenState& state);
|
||||
|
||||
@@ -34,5 +35,6 @@ private:
|
||||
|
||||
// Screen tracking
|
||||
ScreenID _lastScreen = ScreenID::BOOT;
|
||||
BootStage _lastBootStage = BootStage::SPLASH;
|
||||
bool _needsRedraw = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user