aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-01-13 02:49:10 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-01-13 02:49:10 +0000
commit247096fede96ccbcdc4f332d1fcf014f810d7110 (patch)
tree78792e9d8701bc3b38f60de71caff9786884c875 /nuttx/drivers
parent10cc67fe13960489a77fc96b52d6f386764436b8 (diff)
downloadpx4-firmware-247096fede96ccbcdc4f332d1fcf014f810d7110.tar.gz
px4-firmware-247096fede96ccbcdc4f332d1fcf014f810d7110.tar.bz2
px4-firmware-247096fede96ccbcdc4f332d1fcf014f810d7110.zip
STM32 fixes for F4 32-bit timers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4300 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/input/tsc2007.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/input/tsc2007.c b/nuttx/drivers/input/tsc2007.c
index 3afe926fe..52f8652a7 100644
--- a/nuttx/drivers/input/tsc2007.c
+++ b/nuttx/drivers/input/tsc2007.c
@@ -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.