diff --git a/src/lv_misc/lv_mem.c b/src/lv_misc/lv_mem.c index 9812a95c4..116208ea8 100644 --- a/src/lv_misc/lv_mem.c +++ b/src/lv_misc/lv_mem.c @@ -19,7 +19,9 @@ * DEFINES *********************/ /*Add memory junk on alloc (0xaa) and free(0xbb) (just for testing purposes)*/ -#define LV_MEM_ADD_JUNK 1 +#ifndef LV_MEM_ADD_JUNK +#define LV_MEM_ADD_JUNK 0 +#endif #ifdef LV_MEM_ENV64 #define MEM_UNIT uint64_t