Make sure we do not fall behind on RX
This commit is contained in:
parent
5b6e46cef3
commit
013cf04398
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ static void rf_rx(void)
|
||||||
|
|
||||||
while (delta < 2 * DECIMATION) {
|
while (delta < 2 * DECIMATION) {
|
||||||
delta = prev_transfers - dma_hw->ch[dma_ch_in_cos].transfer_count;
|
delta = prev_transfers - dma_hw->ch[dma_ch_in_cos].transfer_count;
|
||||||
sleep_us(100);
|
sleep_us(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
prev_transfers -= 2 * DECIMATION;
|
prev_transfers -= 2 * DECIMATION;
|
||||||
|
|
Loading…
Reference in a new issue