1
0
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:
Francisco Molina 2020-12-08 14:22:09 +01:00
parent a41e679899
commit 7bf2263507
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -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;