add USE_LV_USER_DATA_SINGLE/MULTI

This commit is contained in:
Gabor Kiss-Vamosi
2019-02-25 07:06:05 +01:00
parent 663b8d6c89
commit eb33596d02
4 changed files with 26 additions and 7 deletions

View File

@@ -161,6 +161,12 @@
#ifndef USE_LV_I18N
#define USE_LV_I18N 1 /*1: Enable InternationalizatioN (multi-language) support*/
#endif
#ifndef USE_LV_USER_DATA_SINGLE
#define USE_LV_USER_DATA_SINGLE 1 /*1: Add a `user_data` to drivers and objects*/
#endif
#ifndef USE_LV_USER_DATA_MULTI
#define USE_LV_USER_DATA_MULTI 0 /*1: Add separate `user_data` for every callback*/
#endif
/*Compiler settings*/
#ifndef LV_ATTRIBUTE_TICK_INC