Skip to content
Snippets Groups Projects
Commit 42cd0bc5 authored by CaptainStouf's avatar CaptainStouf
Browse files

Quick hack to set currentFrame at 0 when calling setFrames.

Allows multilevel navigation.

Signed-off-by: default avatarCaptainStouf <stouf@hardware-libre.org>
parent 06dbc893
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,7 @@ void SSD1306Ui::setFrameAnimation(AnimationDirection dir) {
void SSD1306Ui::setFrames(FrameCallback* frameFunctions, uint8_t frameCount) {
this->frameCount = frameCount;
this->frameFunctions = frameFunctions;
this->state.currentFrame = 0;
}
// -/----- Overlays ------\-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment