mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
net/gnrc_lorawan: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT
This commit is contained in:
parent
79e194783c
commit
e791a86971
@ -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 uint16_t timeout = CONFIG_GNRC_LORAWAN_MIN_SYMBOLS_TIMEOUT;
|
||||
const uint8_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