diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-11 18:27:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-11 18:27:46 +0000 |
commit | 186c49997038f34f2b3efd6fd9aa4fde8f4213e1 (patch) | |
tree | 77ec188ac358d775f36b3d77fde24509afe7fd26 /NxWidgets/nxwm/src/ccalibration.cxx | |
parent | a280d993608d0c40ad0b4efc8adcbf72f67d53a4 (diff) | |
download | nuttx-186c49997038f34f2b3efd6fd9aa4fde8f4213e1.tar.gz nuttx-186c49997038f34f2b3efd6fd9aa4fde8f4213e1.tar.bz2 nuttx-186c49997038f34f2b3efd6fd9aa4fde8f4213e1.zip |
SMTPE11 and NxWM touchscreen fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4722 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/ccalibration.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/ccalibration.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/src/ccalibration.cxx b/NxWidgets/nxwm/src/ccalibration.cxx index 82c12ebb3..9ba0c0917 100644 --- a/NxWidgets/nxwm/src/ccalibration.cxx +++ b/NxWidgets/nxwm/src/ccalibration.cxx @@ -223,8 +223,12 @@ bool CCalibration::waitCalibrationData(struct SCalibrationData &data) while (m_state != CALIB_COMPLETE) { +#ifdef CONFIG_DEBUG int ret = sem_wait(&m_waitSem); DEBUGASSERT(ret == 0 || errno == EINTR); +#else + (void)sem_wait(&m_waitSem); +#endif } // Recover the window instance contained in the full screen window |