mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 02:13:33 +08:00
Remove the PWM pulse count method. It can't be support on current hardware
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4201 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user