NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4721 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-05-11 00:05:25 +00:00
parent 23897082d9
commit e72205be3c
21 changed files with 714 additions and 171 deletions
+6 -1
View File
@@ -306,11 +306,16 @@ static inline int stmpe11_waitsample(FAR struct stmpe11_dev_s *priv,
if (ret < 0)
{
// Sample the errno (debug output could change it)
int errval = errno;
/* If we are awakened by a signal, then we need to return
* the failure now.
*/
DEBUGASSERT(errno == EINTR);
idbg("sem_wait failed: %d\n", errval);
DEBUGASSERT(errval == EINTR);
ret = -EINTR;
goto errout;
}