comejv opened a new pull request, #16827:
URL: https://github.com/apache/nuttx/pull/16827

   ## Summary
   
   This patch fixes an incorrect call to stm32_cap_initialize() in 
stm32_bringup.c: the call was made without the channel parameter. Instead of 
adding the channel in the call, the channel is selected by stm32_cap_gpio() 
(first available channel).
   
   This patch also fixes incorrect driver registration in 
drivers/timers/capture.c: the driver was registered with the wrong name 
(/dev/cap -> /dev/capture). Also added more error checking in 
cap_register_multiple().
   
   ## Impact
   
   Upper half timer capture driver for stm32h7 is now properly registered.
   
   ## Testing
   
   Ran examples/capture on the board, sent PWM signals to the gpio pins and 
observed proper duty and frequency.


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to