1
0
Fork 0

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:
Riku Isokoski 2023-02-27 08:45:53 +02:00
parent 02f980f278
commit 1278132840

View file

@ -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);