Donny9 commented on code in PR #18233:
URL: https://github.com/apache/nuttx/pull/18233#discussion_r2744802819
##########
Documentation/components/drivers/character/timers/pwm.rst:
##########
@@ -69,7 +69,7 @@ set through ``pwm_info_s`` structure.
struct pwm_info_s
{
/* Frequency of the pulse train */
- uint32_t frequency;
+ pwm_freq_t frequency;
Review Comment:
@raiden00pl This approach is adopted in many places, such as time_t and
off_t. This ensures better code compatibility.
##########
drivers/timers/Kconfig:
##########
@@ -30,6 +30,12 @@ config PWM
if PWM
+config PWM_FREQUENCY_FIXED
Review Comment:
Done~
--
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]