mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
Merge pull request #15584 from fjmolinas/pr_submac_state_type
sys/net/link_layer/ieee802154/submac: fix type
This commit is contained in:
commit
c15001d33a
@ -411,7 +411,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