From 937408a49603da4a29e1283bace32e65b9ea2827 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Wed, 4 Dec 2019 12:47:54 +0100 Subject: lv_conf.h: Enable user data. This is usefull for passing driver objects arround and it doesn't add too much overhad for drivers that don't need it. Therefore enabling it by default seems like the better choice. --- lv_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lv_conf.h b/lv_conf.h index 5a0ea26..7453905 100644 --- a/lv_conf.h +++ b/lv_conf.h @@ -152,7 +152,7 @@ typedef void * lv_fs_drv_user_data_t; #endif /*1: Add a `user_data` to drivers and objects*/ -#define LV_USE_USER_DATA 0 +#define LV_USE_USER_DATA 1 /*======================== * Image decoder and cache -- cgit v1.2.3