From 3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 8 Dec 2009 07:42:49 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1383 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/pwm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'os/hal/src/pwm.c') diff --git a/os/hal/src/pwm.c b/os/hal/src/pwm.c index ef4260629..f026a62ef 100644 --- a/os/hal/src/pwm.c +++ b/os/hal/src/pwm.c @@ -43,7 +43,7 @@ void pwmInit(void) { void pwmObjectInit(PWMDriver *pwmp) { pwmp->pd_state = PWM_STOP; - pwmp->pwm_config = NULL; + pwmp->pd_config = NULL; } /** @@ -130,7 +130,8 @@ void pwmEnableChannel(PWMDriver *pwmp, /** * @brief Disables a PWM channel. - * @details The channel output line is returned to its idle state and disabled. + * @details The channel is disabled and its output line returned to the + * idle state. * * @param[in] pwmp pointer to the @p PWMDriver object * @param[in] channel PWM channel identifier -- cgit v1.2.3