[PATCH rtems-littelvgl] lv_conf.h: Enable user data.
Christian Mauderer
christian.mauderer at embedded-brains.de
Wed Dec 4 11:47:54 UTC 2019
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
--
2.16.4
More information about the devel
mailing list