1
0
Fork 0

Merge pull request #90 from Riksu9000/fix-lvgl

Remove LVGL instance in main
This commit is contained in:
NeroBurner 2023-02-27 19:02:19 +01:00 committed by GitHub
commit 191bb9a59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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