mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 05:14:27 +08:00
fix argument of nxsem_wait_uninterruptible
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user