diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-27 03:13:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-27 03:13:50 +0000 |
commit | 71edd43b4ed83fbb8b5d6cf84e6ce1bd3ea289ad (patch) | |
tree | a6e2ac51a93bff32a1c810c633bf078401719281 /nuttx/drivers/input | |
parent | 2ee480b59e7f6d641dde0ec63254aaa8a87401c2 (diff) | |
download | px4-nuttx-71edd43b4ed83fbb8b5d6cf84e6ce1bd3ea289ad.tar.gz px4-nuttx-71edd43b4ed83fbb8b5d6cf84e6ce1bd3ea289ad.tar.bz2 px4-nuttx-71edd43b4ed83fbb8b5d6cf84e6ce1bd3ea289ad.zip |
Correct some bad parameter checking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/input')
-rw-r--r-- | nuttx/drivers/input/ads7843e.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/drivers/input/ads7843e.c b/nuttx/drivers/input/ads7843e.c index 555ce3480..07e5e515d 100644 --- a/nuttx/drivers/input/ads7843e.c +++ b/nuttx/drivers/input/ads7843e.c @@ -572,7 +572,7 @@ static void ads7843e_worker(FAR void *arg) /* Check for pen up or down by reading the PENIRQ GPIO. */ pendown = config->pendown(config); -dbg("pendown: %d\n", pendown); // REMOVE ME + /* Handle the change from pen down to pen up */ if (!pendown) @@ -643,7 +643,6 @@ dbg("pendown: %d\n", pendown); // REMOVE ME /* Exit, re-enabling ADS7843E interrupts */ errout: -dbg("Exiting\n"); // REMOVE ME (void)ads7843e_sendcmd(priv, ADS7843_CMD_ENABPINIRQ); config->enable(config, true); } |