mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
net/lorawan : Move 'LORAMAC_DEFAULT_MIN_RX_SYMBOLS' to 'CONFIG_'
This commit is contained in:
parent
216956d7b0
commit
a2f505f116
@ -384,7 +384,7 @@ void _init_loramac(semtech_loramac_t *mac,
|
||||
semtech_loramac_set_tx_mode(mac, CONFIG_LORAMAC_DEFAULT_TX_MODE);
|
||||
semtech_loramac_set_system_max_rx_error(mac,
|
||||
CONFIG_LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR);
|
||||
semtech_loramac_set_min_rx_symbols(mac, LORAMAC_DEFAULT_MIN_RX_SYMBOLS);
|
||||
semtech_loramac_set_min_rx_symbols(mac, CONFIG_LORAMAC_DEFAULT_MIN_RX_SYMBOLS);
|
||||
#ifdef MODULE_PERIPH_EEPROM
|
||||
_read_loramac_config(mac);
|
||||
#endif
|
||||
|
@ -412,8 +412,8 @@ extern "C" {
|
||||
/**
|
||||
* @brief Default minimum RX symbols to detect a frame
|
||||
*/
|
||||
#ifndef LORAMAC_DEFAULT_MIN_RX_SYMBOLS
|
||||
#define LORAMAC_DEFAULT_MIN_RX_SYMBOLS (12)
|
||||
#ifndef CONFIG_LORAMAC_DEFAULT_MIN_RX_SYMBOLS
|
||||
#define CONFIG_LORAMAC_DEFAULT_MIN_RX_SYMBOLS (12)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user