Refresh rework

This commit is contained in:
Riku Isokoski
2021-07-19 16:26:12 +03:00
parent 57b3397078
commit 97c761a5c7
72 changed files with 198 additions and 306 deletions

View File

@@ -17,7 +17,7 @@ namespace Pinetime {
Motion(DisplayApp* app, Controllers::MotionController& motionController);
~Motion() override;
bool Refresh() override;
void Refresh() override;
bool OnButtonPushed() override;
private:
@@ -32,7 +32,9 @@ namespace Pinetime {
static constexpr uint8_t nbStepsBufferSize = 9;
char nbStepsBuffer[nbStepsBufferSize + 1];
bool running = true;
lv_task_t* taskRefresh;
};
}
}
}
}