Fix compilation error when CONFIG_DEBUG_PWM_INFO on stm32h7

This commit is contained in:
cgeng 2021-07-07 15:18:07 +08:00 committed by Xiang Xiao
parent 2d6c1044fb
commit d656417917

View File

@ -1725,7 +1725,7 @@ static void pwm_modifyreg(struct stm32_pwmtimer_s *priv, uint32_t offset,
****************************************************************************/
#ifdef CONFIG_DEBUG_PWM_INFO
static void pwm_dumpregs(struct stm32_pwmtimer_s *priv, FAR const char *msg)
static void pwm_dumpregs(struct pwm_lowerhalf_s *dev, FAR const char *msg)
{
FAR struct stm32_pwmtimer_s *priv = (FAR struct stm32_pwmtimer_s *)dev;