mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:03:34 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user