fix(timer): change 'Task' to 'Timer'
@@ -34,7 +34,7 @@ extern "C" {
struct _lv_timer_t;
/**
- * Tasks execute this type of functions.
+ * Timers execute this type of functions.
*/
typedef void (*lv_timer_cb_t)(struct _lv_timer_t *);
@@ -44,7 +44,7 @@ typedef void (*lv_timer_cb_t)(struct _lv_timer_t *);
typedef struct _lv_timer_t {
uint32_t period; /**< How often the timer should run */
uint32_t last_run; /**< Last time the timer ran */
- lv_timer_cb_t timer_cb; /**< Task function */
+ lv_timer_cb_t timer_cb; /**< Timer function */
void * user_data; /**< Custom user data */
int32_t repeat_count; /**< 1: One time; -1 : infinity; n>0: residual times */
uint32_t paused :1;
