refactoring enum declaration

This commit is contained in:
Zaltora
2018-09-18 13:59:40 +02:00
parent bf8eb078ca
commit 589e7f28e0
35 changed files with 164 additions and 110 deletions

View File

@@ -37,7 +37,7 @@ extern "C" {
/**
* Possible priorities for lv_tasks
*/
typedef enum
enum
{
LV_TASK_PRIO_OFF = 0,
LV_TASK_PRIO_LOWEST,
@@ -46,7 +46,8 @@ typedef enum
LV_TASK_PRIO_HIGH,
LV_TASK_PRIO_HIGHEST,
LV_TASK_PRIO_NUM,
} lv_task_prio_t;
};
typedef uint8_t lv_task_prio_t;
/**
* Descriptor of a lv_task