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
This commit is contained in:
parent
ff34cf196e
commit
6f942e20ed
8 changed files with 5 additions and 64 deletions
|
|
@ -53,7 +53,6 @@ SystemTask::SystemTask(Drivers::SpiMaster& spi,
|
|||
Pinetime::Drivers::SpiNorFlash& spiNorFlash,
|
||||
Drivers::TwiMaster& twiMaster,
|
||||
Drivers::Cst816S& touchPanel,
|
||||
Components::LittleVgl& lvgl,
|
||||
Controllers::Battery& batteryController,
|
||||
Controllers::Ble& bleController,
|
||||
Controllers::DateTime& dateTimeController,
|
||||
|
|
@ -76,7 +75,6 @@ SystemTask::SystemTask(Drivers::SpiMaster& spi,
|
|||
spiNorFlash {spiNorFlash},
|
||||
twiMaster {twiMaster},
|
||||
touchPanel {touchPanel},
|
||||
lvgl {lvgl},
|
||||
batteryController {batteryController},
|
||||
bleController {bleController},
|
||||
dateTimeController {dateTimeController},
|
||||
|
|
|
|||
|
|
@ -24,11 +24,9 @@
|
|||
|
||||
#ifdef PINETIME_IS_RECOVERY
|
||||
#include "displayapp/DisplayAppRecovery.h"
|
||||
#include "displayapp/DummyLittleVgl.h"
|
||||
#else
|
||||
#include "components/settings/Settings.h"
|
||||
#include "displayapp/DisplayApp.h"
|
||||
#include "displayapp/LittleVgl.h"
|
||||
#endif
|
||||
|
||||
#include "drivers/Watchdog.h"
|
||||
|
|
@ -61,7 +59,6 @@ namespace Pinetime {
|
|||
Pinetime::Drivers::SpiNorFlash& spiNorFlash,
|
||||
Drivers::TwiMaster& twiMaster,
|
||||
Drivers::Cst816S& touchPanel,
|
||||
Components::LittleVgl& lvgl,
|
||||
Controllers::Battery& batteryController,
|
||||
Controllers::Ble& bleController,
|
||||
Controllers::DateTime& dateTimeController,
|
||||
|
|
@ -104,7 +101,6 @@ namespace Pinetime {
|
|||
Pinetime::Drivers::SpiNorFlash& spiNorFlash;
|
||||
Pinetime::Drivers::TwiMaster& twiMaster;
|
||||
Pinetime::Drivers::Cst816S& touchPanel;
|
||||
Pinetime::Components::LittleVgl& lvgl;
|
||||
Pinetime::Controllers::Battery& batteryController;
|
||||
|
||||
Pinetime::Controllers::Ble& bleController;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue