Skip to content

Commit 7ef3bd0

Browse files
committed
vfx: update lcd mode refresh rate
1 parent b5ed068 commit 7ef3bd0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

main/src/user/vfx.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void vfx_task(void *pvParameter)
128128
fft_config_t *fft = NULL;
129129
float fft_amp[64] = {0};
130130
int16_t fft_out[64] = {0};
131-
const uint16_t flush_period = 16;
131+
const uint16_t flush_period = 20;
132132

133133
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
134134

@@ -232,7 +232,7 @@ static void vfx_task(void *pvParameter)
232232
fft_config_t *fft = NULL;
233233
float fft_amp[64] = {0};
234234
int16_t fft_out[64] = {0};
235-
const uint16_t flush_period = 16;
235+
const uint16_t flush_period = 20;
236236

237237
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
238238

@@ -352,7 +352,7 @@ static void vfx_task(void *pvParameter)
352352
static uint8_t vu_drop_delay[24] = {0};
353353
const uint8_t vu_peak_delay_init = 9;
354354
const uint8_t vu_drop_delay_init = 3;
355-
const uint16_t flush_period = 16;
355+
const uint16_t flush_period = 20;
356356

357357
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
358358

@@ -466,7 +466,7 @@ static void vfx_task(void *pvParameter)
466466
float fft_amp[64] = {0};
467467
int16_t fft_out[64] = {0};
468468
uint16_t center_y = vfx_disp_height % 2 ? vfx_disp_height / 2 : vfx_disp_height / 2 - 1;
469-
const uint16_t flush_period = 16;
469+
const uint16_t flush_period = 20;
470470

471471
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
472472

@@ -574,7 +574,7 @@ static void vfx_task(void *pvParameter)
574574
float fft_amp[64] = {0};
575575
int16_t fft_out[64] = {0};
576576
uint16_t center_y = vfx_disp_height % 2 ? vfx_disp_height / 2 : vfx_disp_height / 2 - 1;
577-
const uint16_t flush_period = 16;
577+
const uint16_t flush_period = 20;
578578

579579
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
580580

@@ -697,7 +697,7 @@ static void vfx_task(void *pvParameter)
697697
static uint8_t vu_drop_delay[24] = {0};
698698
const uint8_t vu_peak_delay_init = 9;
699699
const uint8_t vu_drop_delay_init = 3;
700-
const uint16_t flush_period = 16;
700+
const uint16_t flush_period = 20;
701701

702702
xEventGroupClearBits(user_event_group, VFX_FFT_NULL_BIT);
703703

0 commit comments

Comments
 (0)