imchangchang opened a new pull request #4088:
URL: https://github.com/apache/incubator-nuttx/pull/4088


   ## Summary
   Fix the compilation error because of function ```pwm_dumpregs``` in 
arch/arm/src/stm32h7/stm32_pwm.c having unmatch definition and declaration.
   
   ## Impact
   
   ## Testing
   1. Configuration: **stm32h747o-disco:nsh**
   2. Enable ```Build Setup/Debug Options/PWM Debug features/PWM Informational 
Output```.
   3. Before this commit, there is a compilation error.
   ```
   chip/stm32_pwm.c: In function 'pwm_dumpregs':
   chip/stm32_pwm.c:1730:32: error: 'priv' redeclared as different kind of 
symbol
    1730 |   FAR struct stm32_pwmtimer_s *priv = (FAR struct stm32_pwmtimer_s 
*)dev; 
   ```
   4. Apply this commit, the build passed.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to