[rtems-littlevgl commit] lv_conf.h: Enable user data.

Christian Mauderer christianm at rtems.org
Thu Jan 30 09:47:13 UTC 2020


Module:    rtems-littlevgl
Branch:    master
Commit:    937408a49603da4a29e1283bace32e65b9ea2827
Changeset: http://git.rtems.org/rtems-littlevgl/commit/?id=937408a49603da4a29e1283bace32e65b9ea2827

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Wed Dec  4 12:47:54 2019 +0100

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



More information about the vc mailing list