From f8d7357d02fd4d687d8ed16f19b51dfc78957297 Mon Sep 17 00:00:00 2001 From: Rene Zeldenthuis Date: Mon, 17 Jun 2024 01:36:32 +0200 Subject: [PATCH] Changed memory LV_USE_STDLIB to use LV_STDLIB_CLIB --- SquareLine_Project.spj | 2 +- include/lv_conf.h | 6 +++--- src/main.cpp | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/SquareLine_Project.spj b/SquareLine_Project.spj index 8e7f691..f51dcdc 100644 --- a/SquareLine_Project.spj +++ b/SquareLine_Project.spj @@ -3815,7 +3815,7 @@ "theme_color2": 0, "uiExportFolderPath": "C:\\Users\\rzeld\\source\\repos\\esp32-smartdisplay-demo\\src\\ui", "projectExportFolderPath": "C:\\Users\\rzeld\\source\\repos\\esp32-smartdisplay-demo", - "backup_cnt": 72, + "backup_cnt": 75, "autosave_cnt": 0, "lvgl_version": "9.1.0", "callfuncsexport": "CPP_FILE", diff --git a/include/lv_conf.h b/include/lv_conf.h index 761593b..59b8ee5 100644 --- a/include/lv_conf.h +++ b/include/lv_conf.h @@ -35,9 +35,9 @@ * - LV_STDLIB_RTTHREAD: RT-Thread implementation * - LV_STDLIB_CUSTOM: Implement the functions externally */ -#define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN -#define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN -#define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN +#define LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB +#define LV_USE_STDLIB_STRING LV_STDLIB_CLIB +#define LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB #if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN diff --git a/src/main.cpp b/src/main.cpp index 18117df..deb8304 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,8 +3,6 @@ #include #include -#include - void OnAddOneClicked(lv_event_t *e) { static uint8_t cnt = 0;