Skip to content

Commit 5e1ef6a

Browse files
committed
vfx: lcd: use uint8_t in vu mode
1 parent ea2d422 commit 5e1ef6a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

main/src/user/vfx.c

+10-10
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ static void vfx_task(void *pvParameter)
324324
const uint8_t vu_width = 10;
325325
const uint8_t vu_step = 6;
326326
#endif
327-
static int8_t vu_peak_value[24] = {0};
328-
static int8_t vu_peak_delay[24] = {0};
329-
static int8_t vu_drop_delay[24] = {0};
330-
const int8_t vu_peak_delay_init = 9;
331-
const int8_t vu_drop_delay_init = 3;
327+
static uint8_t vu_peak_value[24] = {0};
328+
static uint8_t vu_peak_delay[24] = {0};
329+
static uint8_t vu_drop_delay[24] = {0};
330+
const uint8_t vu_peak_delay_init = 9;
331+
const uint8_t vu_drop_delay_init = 3;
332332

333333
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
334334

@@ -657,11 +657,11 @@ static void vfx_task(void *pvParameter)
657657
const uint8_t vu_width = 10;
658658
const uint8_t vu_step = 6;
659659
#endif
660-
static int8_t vu_peak_value[24] = {0};
661-
static int8_t vu_peak_delay[24] = {0};
662-
static int8_t vu_drop_delay[24] = {0};
663-
const int8_t vu_peak_delay_init = 9;
664-
const int8_t vu_drop_delay_init = 3;
660+
static uint8_t vu_peak_value[24] = {0};
661+
static uint8_t vu_peak_delay[24] = {0};
662+
static uint8_t vu_drop_delay[24] = {0};
663+
const uint8_t vu_peak_delay_init = 9;
664+
const uint8_t vu_drop_delay_init = 3;
665665

666666
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
667667

0 commit comments

Comments
 (0)