adding spinlock
This commit is contained in:
parent
77e01d28b0
commit
74b206b242
1 changed files with 2 additions and 2 deletions
|
@ -903,8 +903,8 @@ err_t mmnif_init(struct netif* netif)
|
|||
|
||||
/* init the lock for the hdr
|
||||
*/
|
||||
sem_init(&mmnif->rx_buff->lock,1);
|
||||
// spinlock_init(&mmnif->rx_buff->lock);
|
||||
// sem_init(&mmnif->rx_buff->lock,1);
|
||||
spinlock_init(&mmnif->rx_buff->lock);
|
||||
|
||||
/* init the sems for communication art
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue