mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/gnrc/lorawan: remove handling of deprecated tx port
This commit is contained in:
parent
2327d74d24
commit
cfb5000d5c
@ -506,10 +506,6 @@ static int _set(gnrc_netif_t *netif, const gnrc_netapi_opt_t *opt)
|
|||||||
}
|
}
|
||||||
netif->lorawan.datarate = *((uint8_t *)opt->data);
|
netif->lorawan.datarate = *((uint8_t *)opt->data);
|
||||||
break;
|
break;
|
||||||
case NETOPT_LORAWAN_TX_PORT:
|
|
||||||
assert(opt->data_len == sizeof(uint8_t));
|
|
||||||
netif->lorawan.port = *((uint8_t *)opt->data);
|
|
||||||
break;
|
|
||||||
case NETOPT_ACK_REQ:
|
case NETOPT_ACK_REQ:
|
||||||
assert(opt->data_len == sizeof(netopt_enable_t));
|
assert(opt->data_len == sizeof(netopt_enable_t));
|
||||||
netif->lorawan.ack_req = *((netopt_enable_t *)opt->data);
|
netif->lorawan.ack_req = *((netopt_enable_t *)opt->data);
|
||||||
|
Loading…
Reference in New Issue
Block a user