summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-19 19:35:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-19 19:35:52 +0000
commitef92b45bc404a1aaf0ab43a1603712f9bfc72311 (patch)
tree562a3dcd397e30f4fce128e2fc09dcaaeda4dbac /nuttx/drivers
parentc5ba205781809f0a9124a1bd04d78c411f536ebf (diff)
downloadpx4-nuttx-ef92b45bc404a1aaf0ab43a1603712f9bfc72311.tar.gz
px4-nuttx-ef92b45bc404a1aaf0ab43a1603712f9bfc72311.tar.bz2
px4-nuttx-ef92b45bc404a1aaf0ab43a1603712f9bfc72311.zip
Remove the PWM pulse count method. It can't be support on current hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4201 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/pwm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/nuttx/drivers/pwm.c b/nuttx/drivers/pwm.c
index c870adfe4..15447e9be 100644
--- a/nuttx/drivers/pwm.c
+++ b/nuttx/drivers/pwm.c
@@ -343,19 +343,6 @@ static int pwm_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
}
break;
- /* PWMIOC_GETPULSECOUNT - Return the number of pulses generated.
- *
- * ioctl argument: A pointer to a pwm_count_t variable that will be used to
- * receive the pulse count
- */
-
- case PWMIOC_GETPULSECOUNT:
- {
- FAR pwm_count_t *count = (FAR pwm_count_t *)((uintptr_t)arg);
- ret = lower->ops->pulsecount(lower, count);
- }
- break;
-
/* Any unrecognized IOCTL commands might be platform-specific ioctl commands */
default: