screens: Remove explicit Screen constructors

This constructor didn't do anything since DisplayApp reference was
removed from the Screen base class.
This commit is contained in:
Riku Isokoski
2023-02-22 22:18:15 +02:00
parent 7c7a8602c4
commit c78211952e
33 changed files with 32 additions and 44 deletions

View File

@@ -33,7 +33,7 @@ namespace {
constexpr TickType_t blinkInterval = pdMS_TO_TICKS(1000);
}
StopWatch::StopWatch(DisplayApp* app, System::SystemTask& systemTask) : Screen(app), systemTask {systemTask} {
StopWatch::StopWatch(DisplayApp* app, System::SystemTask& systemTask) : systemTask {systemTask} {
static constexpr uint8_t btnWidth = 115;
static constexpr uint8_t btnHeight = 80;
btnPlayPause = lv_btn_create(lv_scr_act(), nullptr);