diff --git a/lv_conf_templ.h b/lv_conf_templ.h index 69fbb4e10..bbd8d5f72 100644 --- a/lv_conf_templ.h +++ b/lv_conf_templ.h @@ -92,7 +92,7 @@ /*Compiler attributes*/ #define LV_ATTRIBUTE_TICK_INC /* Define a custom attribute to tick increment function */ -#define LV_ATTRIBUTE_TASK_HANDLE /* Define a custom attribute to task handle function */ +#define LV_ATTRIBUTE_TASK_HANDLER /* Define a custom attribute to task handler function */ /*================ * THEME USAGE diff --git a/lv_misc/lv_task.c b/lv_misc/lv_task.c index 846a43156..f5988b686 100644 --- a/lv_misc/lv_task.c +++ b/lv_misc/lv_task.c @@ -55,7 +55,7 @@ void lv_task_init(void) /** * Call it periodically to handle lv_tasks. */ -inline void LV_ATTRIBUTE_TASK_HANDLE lv_task_handler(void) +inline void LV_ATTRIBUTE_TASK_HANDLER lv_task_handler(void) { static uint32_t idle_period_start = 0; static uint32_t handler_start = 0;