Skip to content

Commit

Permalink
Changed memory LV_USE_STDLIB to use LV_STDLIB_CLIB
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeldent committed Jun 16, 2024
1 parent 8eea61e commit f8d7357
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SquareLine_Project.spj
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions include/lv_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#include <esp32_smartdisplay.h>
#include <ui/ui.h>

#include <src/libs/qrcode/lv_qrcode.h>

void OnAddOneClicked(lv_event_t *e)
{
static uint8_t cnt = 0;
Expand Down

0 comments on commit f8d7357

Please sign in to comment.