Skip to content

Commit b426090

Browse files
committed
Faster bitslip stabilization
1 parent c81dc8a commit b426090

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ch32v305/src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ static void TLV320_I2S_CheckBitslip(void)
174174
{
175175
false_checks_in_a_row = 0U;
176176
printf("bitslipped, resetting\n");
177+
i2s_hw_enable(DISABLE);
177178
i2s_hw_deinit();
178-
Delay_Ms(1);
179+
Delay_Ms(10);
179180
i2s_hw_init();
180181
i2s_hw_enable(ENABLE);
181182
s_tlv320_i2s_report_initialized = 0U;

0 commit comments

Comments
 (0)