mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
net/lora : Move 'LORA_SYMBOL_TIMEOUT_DEFAULT' to 'CONFIG_'
This commit is contained in:
parent
de1ad1e8cf
commit
979700cd45
@ -181,7 +181,7 @@ void sx127x_init_radio_settings(sx127x_t *dev)
|
||||
sx127x_set_iq_invert(dev, LORA_IQ_INVERTED_DEFAULT);
|
||||
sx127x_set_payload_length(dev, LORA_PAYLOAD_LENGTH_DEFAULT);
|
||||
sx127x_set_preamble_length(dev, CONFIG_LORA_PREAMBLE_LENGTH_DEFAULT);
|
||||
sx127x_set_symbol_timeout(dev, LORA_SYMBOL_TIMEOUT_DEFAULT);
|
||||
sx127x_set_symbol_timeout(dev, CONFIG_LORA_SYMBOL_TIMEOUT_DEFAULT);
|
||||
sx127x_set_rx_single(dev, SX127X_RX_SINGLE);
|
||||
sx127x_set_tx_timeout(dev, SX127X_TX_TIMEOUT_DEFAULT);
|
||||
}
|
||||
|
@ -44,8 +44,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/** @brief Symbols timeout (s) */
|
||||
#ifndef LORA_SYMBOL_TIMEOUT_DEFAULT
|
||||
#define LORA_SYMBOL_TIMEOUT_DEFAULT (10U)
|
||||
#ifndef CONFIG_LORA_SYMBOL_TIMEOUT_DEFAULT
|
||||
#define CONFIG_LORA_SYMBOL_TIMEOUT_DEFAULT (10U)
|
||||
#endif
|
||||
|
||||
/** @brief Set default bandwidth to 125kHz */
|
||||
|
Loading…
Reference in New Issue
Block a user