mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
fix(meter) make lv_meter_indicator_type_t of type uint8_t (#2632)
This commit is contained in:
parent
3eb646d3dc
commit
61b5cbb5d3
@ -51,12 +51,13 @@ typedef struct {
|
|||||||
int16_t rotation;
|
int16_t rotation;
|
||||||
} lv_meter_scale_t;
|
} lv_meter_scale_t;
|
||||||
|
|
||||||
typedef enum {
|
enum {
|
||||||
LV_METER_INDICATOR_TYPE_NEEDLE_IMG,
|
LV_METER_INDICATOR_TYPE_NEEDLE_IMG,
|
||||||
LV_METER_INDICATOR_TYPE_NEEDLE_LINE,
|
LV_METER_INDICATOR_TYPE_NEEDLE_LINE,
|
||||||
LV_METER_INDICATOR_TYPE_SCALE_LINES,
|
LV_METER_INDICATOR_TYPE_SCALE_LINES,
|
||||||
LV_METER_INDICATOR_TYPE_ARC,
|
LV_METER_INDICATOR_TYPE_ARC,
|
||||||
} lv_meter_indicator_type_t;
|
};
|
||||||
|
typedef uint8_t lv_meter_indicator_type_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
lv_meter_scale_t * scale;
|
lv_meter_scale_t * scale;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user