mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 21:47:17 +00:00
fix argument of nxsem_wait_uninterruptible
This commit is contained in:
parent
616828bae4
commit
96a2196beb
1 changed files with 1 additions and 1 deletions
|
|
@ -2603,7 +2603,7 @@ static sdio_eventset_t stm32_eventwait(struct sdio_dev_s *dev)
|
|||
* incremented and there will be no wait.
|
||||
*/
|
||||
|
||||
ret = nxsem_wait_uninterruptible(priv);
|
||||
ret = nxsem_wait_uninterruptible(&priv->waitsem);
|
||||
if (ret < 0)
|
||||
{
|
||||
/* Task canceled. Cancel the wdog (assuming it was started) and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue