mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Revert "net/gnrc_lorawan: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
This reverts commit e791a86971785babb9a7750a4be01cce760a7527.
This commit is contained in:
parent
d69256c90b
commit
f7dd532dd3
@ -129,7 +129,7 @@ static void _config_radio(gnrc_lorawan_t *mac, uint32_t channel_freq,
|
||||
/* Switch to single listen mode */
|
||||
const netopt_enable_t single = true;
|
||||
dev->driver->set(dev, NETOPT_SINGLE_RECEIVE, &single, sizeof(single));
|
||||
const uint8_t timeout = CONFIG_GNRC_LORAWAN_MIN_SYMBOLS_TIMEOUT;
|
||||
const uint16_t timeout = CONFIG_GNRC_LORAWAN_MIN_SYMBOLS_TIMEOUT;
|
||||
dev->driver->set(dev, NETOPT_RX_SYMBOL_TIMEOUT, &timeout,
|
||||
sizeof(timeout));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user