summaryrefslogtreecommitdiff
path: root/nuttx/drivers/input/ads7843e.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/input/ads7843e.c')
-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));
}