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:
patacongo
2011-12-19 19:35:52 +00:00
parent add995c32e
commit c0424dae99
3 changed files with 0 additions and 59 deletions
-23
View File
@@ -115,7 +115,6 @@ static int pwm_setup(FAR struct pwm_lowerhalf_s *dev);
static int pwm_shutdown(FAR struct pwm_lowerhalf_s *dev);
static int pwm_start(FAR struct pwm_lowerhalf_s *dev, FAR const struct pwm_info_s *info);
static int pwm_stop(FAR struct pwm_lowerhalf_s *dev);
static int pwm_pulsecount(FAR struct pwm_lowerhalf_s *dev, FAR pwm_count_t *count);
static int pwm_ioctl(FAR struct pwm_lowerhalf_s *dev, int cmd, unsigned long arg);
/****************************************************************************
@@ -129,7 +128,6 @@ static const struct pwm_ops_s g_pwmops =
.shutdown = pwm_shutdown,
.start = pwm_start,
.stop = pwm_stop,
.pulsecount = pwm_pulsecount,
.ioctl = pwm_ioctl,
};
@@ -797,27 +795,6 @@ static int pwm_stop(FAR struct pwm_lowerhalf_s *dev)
return OK;
}
/****************************************************************************
* Name: pwm_pulsecount
*
* Description:
* Get the number of pulses generated
*
* Input parameters:
* dev - A reference to the lower half PWM driver state structure
* count - A pointer to the location to return the pulse count
*
* Returned Value:
* Zero on success; a negated errno value on failure
*
****************************************************************************/
static int pwm_pulsecount(FAR struct pwm_lowerhalf_s *dev, FAR pwm_count_t *count)
{
#warning "Missing logic"
return -ENOSYS;
}
/****************************************************************************
* Name:
*