mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
configs/lpcxpresso-lpc54628: Add a Twm4Nx configuration.
This commit is contained in:
@@ -98,11 +98,9 @@ int nxterm_semwait(FAR struct nxterm_state_s *priv)
|
||||
|
||||
int nxterm_sempost(FAR struct nxterm_state_s *priv)
|
||||
{
|
||||
pid_t me = getpid();
|
||||
|
||||
/* Make sure that I really hold the semaphore */
|
||||
|
||||
DEBUGASSERT(priv->holder == me);
|
||||
DEBUGASSERT(priv->holder == getpid());
|
||||
|
||||
/* Then let go of it */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user