mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 08:51:19 +01:00
sys/net/link_layer/ieee802154/submac: fix type
This commit is contained in:
parent
a41e679899
commit
7bf2263507
@ -403,7 +403,7 @@ int ieee802154_set_state(ieee802154_submac_t *submac, ieee802154_submac_state_t
|
||||
res = ieee802154_radio_off(dev);
|
||||
}
|
||||
else {
|
||||
ieee802154_submac_state_t new_state =
|
||||
ieee802154_trx_state_t new_state =
|
||||
state == IEEE802154_STATE_IDLE
|
||||
? IEEE802154_TRX_STATE_TRX_OFF
|
||||
: IEEE802154_TRX_STATE_RX_ON;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user