From 61b5cbb5d386632a99b898a98af12e18bd5bd595 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Mon, 4 Oct 2021 16:19:14 +0200 Subject: [PATCH] fix(meter) make lv_meter_indicator_type_t of type uint8_t (#2632) --- src/extra/widgets/meter/lv_meter.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/extra/widgets/meter/lv_meter.h b/src/extra/widgets/meter/lv_meter.h index f93496366..3626fbad1 100644 --- a/src/extra/widgets/meter/lv_meter.h +++ b/src/extra/widgets/meter/lv_meter.h @@ -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;