mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 23:13:35 +08:00
Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4940 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -47,7 +47,9 @@
|
||||
#include <string.h>
|
||||
#include <semaphore.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
|
||||
#include "sem_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
@@ -75,7 +77,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sem_open
|
||||
* Name: sem_open
|
||||
*
|
||||
* Description:
|
||||
* This function establishes a connection between named semaphores and a
|
||||
@@ -198,6 +200,7 @@ FAR sem_t *sem_open (FAR const char *name, int oflag, ...)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sched_unlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user