diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-25 13:29:07 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-25 16:58:10 +0200 |
| commit | 6f942e20ed5881e0b520f4c4f0f1fd2ffb4a3a2b (patch) | |
| tree | e8180358fe5d274b853c5157baee6e085c320fff /src/displayapp/DisplayApp.h | |
| parent | ff34cf196ef16d5c06278e45567015e0e06a8c48 (diff) | |
LittleVgl: Instantiate in DisplayApp
LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be
implemented without LVGL.
DummyLittleVgl isn't needed anymore and has been removed
Diffstat (limited to 'src/displayapp/DisplayApp.h')
| -rw-r--r-- | src/displayapp/DisplayApp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/DisplayApp.h b/src/displayapp/DisplayApp.h index 980a4306..f955c213 100644 --- a/src/displayapp/DisplayApp.h +++ b/src/displayapp/DisplayApp.h @@ -52,7 +52,6 @@ namespace Pinetime { enum class FullRefreshDirections { None, Up, Down, Left, Right, LeftAnim, RightAnim }; DisplayApp(Drivers::St7789& lcd, - Components::LittleVgl& lvgl, const Drivers::Cst816S&, const Controllers::Battery& batteryController, const Controllers::Ble& bleController, @@ -79,7 +78,6 @@ namespace Pinetime { private: Pinetime::Drivers::St7789& lcd; - Pinetime::Components::LittleVgl& lvgl; const Pinetime::Drivers::Cst816S& touchPanel; const Pinetime::Controllers::Battery& batteryController; const Pinetime::Controllers::Ble& bleController; @@ -98,6 +96,7 @@ namespace Pinetime { Pinetime::Controllers::FS& filesystem; Pinetime::Controllers::FirmwareValidator validator; + Pinetime::Components::LittleVgl lvgl; TaskHandle_t taskHandle; |
