You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/12/28 12:28:02 UTC

[incubator-nuttx] 02/02: Fix a typo in description of pwm_expired

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit baafd33cbe01032f6e7d196d6ac2ef2b158862d8
Author: Norman Rasmussen <no...@rasmussen.co.za>
AuthorDate: Tue Dec 28 02:53:39 2021 -0800

    Fix a typo in description of pwm_expired
---
 drivers/timers/pwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/timers/pwm.c b/drivers/timers/pwm.c
index 0b2f02e..8652e3f 100644
--- a/drivers/timers/pwm.c
+++ b/drivers/timers/pwm.c
@@ -629,7 +629,7 @@ int pwm_register(FAR const char *path, FAR struct pwm_lowerhalf_s *dev)
  *   1. The upper half driver calls the start method, providing the lower
  *      half driver with the pulse train characteristics.  If a fixed
  *      number of pulses is required, the 'count' value will be nonzero.
- *   2. The lower half driver's start() methoc must verify that it can
+ *   2. The lower half driver's start() method must verify that it can
  *      support the request pulse train (frequency, duty, AND pulse count).
  *      If it cannot, it should return an error.  If the pulse count is
  *      non-zero, it should set up the hardware for that number of pulses