Merge pull request #90 from Riksu9000/fix-lvgl
Remove LVGL instance in main
This commit is contained in:
commit
191bb9a59b
4
main.cpp
4
main.cpp
|
@ -341,8 +341,6 @@ Pinetime::Controllers::FS fs {spiNorFlash};
|
||||||
Pinetime::Controllers::Settings settingsController {fs};
|
Pinetime::Controllers::Settings settingsController {fs};
|
||||||
Pinetime::Controllers::MotorController motorController {};
|
Pinetime::Controllers::MotorController motorController {};
|
||||||
|
|
||||||
Pinetime::Components::LittleVgl lvgl {lcd, fs};
|
|
||||||
|
|
||||||
Pinetime::Controllers::DateTime dateTimeController {settingsController};
|
Pinetime::Controllers::DateTime dateTimeController {settingsController};
|
||||||
Pinetime::Drivers::Watchdog watchdog;
|
Pinetime::Drivers::Watchdog watchdog;
|
||||||
Pinetime::Controllers::NotificationManager notificationManager;
|
Pinetime::Controllers::NotificationManager notificationManager;
|
||||||
|
@ -418,8 +416,6 @@ public:
|
||||||
motorController.Init();
|
motorController.Init();
|
||||||
settingsController.Init();
|
settingsController.Init();
|
||||||
|
|
||||||
lvgl.Init();
|
|
||||||
|
|
||||||
lv_mem_monitor(&mem_mon);
|
lv_mem_monitor(&mem_mon);
|
||||||
printf("initial free_size = %u\n", mem_mon.free_size);
|
printf("initial free_size = %u\n", mem_mon.free_size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user