Make sure we do not fall behind on RX

This commit is contained in:
Jan Hamal Dvořák 2024-02-27 20:33:41 +01:00
parent 5b6e46cef3
commit 013cf04398
Signed by: mordae
GPG key ID: 1782BCC23EE007B9

View file

@ -591,7 +591,7 @@ static void rf_rx(void)
while (delta < 2 * DECIMATION) {
delta = prev_transfers - dma_hw->ch[dma_ch_in_cos].transfer_count;
sleep_us(100);
sleep_us(10);
}
prev_transfers -= 2 * DECIMATION;