summaryrefslogtreecommitdiff
path: root/nuttx/drivers/input
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-12 17:32:00 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-12 17:32:00 -0600
commit3980a00ab75c580d1f4246a9be226631832c9e6e (patch)
tree1d8e177d23a39c0fe30e44cc1843cb3f4d737021 /nuttx/drivers/input
parent5633c904e72b25119bbd9056bc0951ef9f6ad88e (diff)
downloadpx4-nuttx-3980a00ab75c580d1f4246a9be226631832c9e6e.tar.gz
px4-nuttx-3980a00ab75c580d1f4246a9be226631832c9e6e.tar.bz2
px4-nuttx-3980a00ab75c580d1f4246a9be226631832c9e6e.zip
Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup
Diffstat (limited to 'nuttx/drivers/input')
-rw-r--r--nuttx/drivers/input/ads7843e.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/drivers/input/ads7843e.c b/nuttx/drivers/input/ads7843e.c
index 620b8faee..98893a2f6 100644
--- a/nuttx/drivers/input/ads7843e.c
+++ b/nuttx/drivers/input/ads7843e.c
@@ -270,6 +270,11 @@ static inline void ads7843e_configspi(FAR struct spi_dev_s *spi)
static inline void ads7843e_waitbusy(FAR struct ads7843e_dev_s *priv)
{
+ /* BUSY is high impedance when the ads7843e not selected. When the
+ * ads7843e selected, BUSY is active high. Hence, it is necessary to have
+ * the ads7843e selected when this function is called.
+ */
+
while (priv->config->busy(priv->config));
}