stm32-sx1280: use 250 us in SetRx as it seems to apply to AutoTx as well

This commit is contained in:
Matthias Ringwald 2020-11-02 19:37:52 +01:00
parent 357d0f166a
commit 02e972ab63

View File

@ -410,7 +410,8 @@ static bool receive_prepare_rx_bufffer(void){
static void receive_response(void){
if (receive_prepare_rx_bufffer()) {
Radio.SetRx( ( TickTime_t ) { RADIO_TICK_SIZE_0015_US, 10 } ); // 220 us
// 150 us would be enough, but the timeout seems to apply for AutoTx as well, so we use 250 us
Radio.SetRx( ( TickTime_t ) { RADIO_TICK_SIZE_0015_US, 16 } );
}
}