From 1278132840b93767669faf97c5e47ea0590c9b78 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Mon, 27 Feb 2023 08:45:53 +0200 Subject: [PATCH] Remove LVGL instance in main This has been moved to DisplayApp in InfiniTime, so there were two instances in InfiniSim. --- main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.cpp b/main.cpp index d95537f..cd61ae9 100644 --- a/main.cpp +++ b/main.cpp @@ -341,8 +341,6 @@ Pinetime::Controllers::FS fs {spiNorFlash}; Pinetime::Controllers::Settings settingsController {fs}; Pinetime::Controllers::MotorController motorController {}; -Pinetime::Components::LittleVgl lvgl {lcd, fs}; - Pinetime::Controllers::DateTime dateTimeController {settingsController}; Pinetime::Drivers::Watchdog watchdog; Pinetime::Controllers::NotificationManager notificationManager; @@ -418,8 +416,6 @@ public: motorController.Init(); settingsController.Init(); - lvgl.Init(); - lv_mem_monitor(&mem_mon); printf("initial free_size = %u\n", mem_mon.free_size);