STM32 fixes for F4 32-bit timers

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4300 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-01-13 02:49:10 +00:00
parent cd567f546a
commit f158e56fca
6 changed files with 615 additions and 409 deletions
+2 -2
View File
@@ -257,13 +257,13 @@ static void tsc2007_notify(FAR struct tsc2007_dev_s *priv)
if (priv->nwaiters > 0)
{
/* After posting this semaphore, we need to exit because the TSC2007
* is no longer avaialable.
* is no longer available.
*/
sem_post(&priv->waitsem);
}
/* If there are threads waiting on poll() for TSC2007 data to become availabe,
/* If there are threads waiting on poll() for TSC2007 data to become available,
* then wake them up now. NOTE: we wake up all waiting threads because we
* do not know that they are going to do. If they all try to read the data,
* then some make end up blocking after all.