1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(meter) make lv_meter_indicator_type_t of type uint8_t (#2632)

This commit is contained in:
s-hadinger 2021-10-04 16:19:14 +02:00 committed by GitHub
parent 3eb646d3dc
commit 61b5cbb5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,12 +51,13 @@ typedef struct {
int16_t rotation;
} lv_meter_scale_t;
typedef enum {
enum {
LV_METER_INDICATOR_TYPE_NEEDLE_IMG,
LV_METER_INDICATOR_TYPE_NEEDLE_LINE,
LV_METER_INDICATOR_TYPE_SCALE_LINES,
LV_METER_INDICATOR_TYPE_ARC,
} lv_meter_indicator_type_t;
};
typedef uint8_t lv_meter_indicator_type_t;
typedef struct {
lv_meter_scale_t * scale;