Skip to content

Commit 0f7efe3

Browse files
Travis HendricksonKimmo Vaisanen
authored andcommitted
set symb_timeout to 0 also in FSK mode
1 parent fd6f9bf commit 0f7efe3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SX126X/SX126X_LoRaRadio.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ void SX126X_LoRaRadio::set_rx_config(radio_modems_t modem,
855855

856856
if (rx_continuous) {
857857
_reception_mode = RECEPTION_MODE_CONTINUOUS;
858+
symb_timeout = 0;
858859
} else {
859860
_reception_mode = RECEPTION_MODE_SINGLE;
860861
}
@@ -906,7 +907,7 @@ void SX126X_LoRaRadio::set_rx_config(radio_modems_t modem,
906907
}
907908

908909
case MODEM_LORA: {
909-
_rx_timeout_in_symbols = rx_continuous ? 0 : symb_timeout;
910+
_rx_timeout_in_symbols = symb_timeout;
910911
_mod_params.modem_type = MODEM_LORA;
911912
_mod_params.params.lora.spreading_factor =
912913
(lora_spread_factors_t) datarate;

0 commit comments

Comments
 (0)