summaryrefslogtreecommitdiffstats
path: root/lv_conf.h
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2019-12-04 12:47:54 +0100
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2020-01-30 10:45:39 +0100
commit937408a49603da4a29e1283bace32e65b9ea2827 (patch)
tree58fe744a2f888c45c4bc102b386907204f3553f2 /lv_conf.h
parentAllow to build without drivers. (diff)
downloadrtems-littlevgl-937408a49603da4a29e1283bace32e65b9ea2827.tar.bz2
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.
Diffstat (limited to 'lv_conf.h')
-rw-r--r--lv_conf.h2
1 files changed, 1 insertions, 1 deletions
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