mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Merged in merlin17/nuttx/ieee802154 (pull request #339)
Ieee802154 Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
@@ -1819,6 +1819,10 @@ FAR struct ieee802154_radio_s *mrf24j40_init(FAR struct spi_dev_s *spi,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Allow exclusive access to the privmac struct */
|
||||
|
||||
sem_init(&dev->exclsem, 0, 1);
|
||||
|
||||
dev->radio.ops = &mrf24j40_devops;
|
||||
|
||||
dev->lower = lower;
|
||||
|
||||
Reference in New Issue
Block a user