mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
net/lorawan : Move 'LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR' to 'CONFIG_'
This commit is contained in:
parent
ed269a7fd7
commit
216956d7b0
@ -383,7 +383,7 @@ void _init_loramac(semtech_loramac_t *mac,
|
||||
semtech_loramac_set_tx_port(mac, CONFIG_LORAMAC_DEFAULT_TX_PORT);
|
||||
semtech_loramac_set_tx_mode(mac, CONFIG_LORAMAC_DEFAULT_TX_MODE);
|
||||
semtech_loramac_set_system_max_rx_error(mac,
|
||||
LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR);
|
||||
CONFIG_LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR);
|
||||
semtech_loramac_set_min_rx_symbols(mac, LORAMAC_DEFAULT_MIN_RX_SYMBOLS);
|
||||
#ifdef MODULE_PERIPH_EEPROM
|
||||
_read_loramac_config(mac);
|
||||
|
@ -405,8 +405,8 @@ extern "C" {
|
||||
/**
|
||||
* @brief Default maximum system overall timing error
|
||||
*/
|
||||
#ifndef LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR
|
||||
#define LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR (50)
|
||||
#ifndef CONFIG_LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR
|
||||
#define CONFIG_LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR (50)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user