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 | 9a0be89531cef3fb41ac68412693529607dd0ca3 (patch) | |
tree | a6e2ac51a93bff32a1c810c633bf078401719281 /nuttx/drivers | |
parent | ebdc6a36e8185325a98c45527b2c970aae5a59e2 (diff) | |
download | px4-firmware-9a0be89531cef3fb41ac68412693529607dd0ca3.tar.gz px4-firmware-9a0be89531cef3fb41ac68412693529607dd0ca3.tar.bz2 px4-firmware-9a0be89531cef3fb41ac68412693529607dd0ca3.zip |
Correct some bad parameter checking
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-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); } |