diff --git a/pkg/semtech-loramac/contrib/semtech_loramac_radio.c b/pkg/semtech-loramac/contrib/semtech_loramac_radio.c index 0ba549cd90..a0cf9be655 100644 --- a/pkg/semtech-loramac/contrib/semtech_loramac_radio.c +++ b/pkg/semtech-loramac/contrib/semtech_loramac_radio.c @@ -96,7 +96,7 @@ void SX127XSetRxConfig(RadioModems_t modem, uint32_t bandwidth, sx127x_set_freq_hop(&sx127x, freqHopOn); sx127x_set_hop_period(&sx127x, hopPeriod); sx127x_set_iq_invert(&sx127x, iqInverted); - sx127x_set_symbol_timeout(&sx127x, 2 * symbTimeout); + sx127x_set_symbol_timeout(&sx127x, symbTimeout); sx127x_set_rx_single(&sx127x, !rxContinuous); } diff --git a/pkg/semtech-loramac/contrib/semtech_loramac_timer.c b/pkg/semtech-loramac/contrib/semtech_loramac_timer.c index 59686b5645..346bc7fe93 100644 --- a/pkg/semtech-loramac/contrib/semtech_loramac_timer.c +++ b/pkg/semtech-loramac/contrib/semtech_loramac_timer.c @@ -60,12 +60,7 @@ void TimerSetValue(TimerEvent_t *obj, uint32_t value) xtimer_remove(&(obj->dev)); } - /* According to the lorawan specifications, the data sent from the gateway - could arrive with a short shift in time of +/- 20ms. Here the timeout is - triggered 50ms in advance to make sure the radio switches to RX mode on - time and doesn't miss any downlink messages, taking in consideration - possible xtimer inaccuracies. */ - obj->timeout = (value - 50) * US_PER_MS; + obj->timeout = value * US_PER_MS; } TimerTime_t TimerGetCurrentTime(void)