Remove LVGL instance in main
This has been moved to DisplayApp in InfiniTime, so there were two instances in InfiniSim.
This commit is contained in:
parent
02f980f278
commit
1278132840
1 changed files with 0 additions and 4 deletions
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 a new issue