aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 08:55:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 08:55:48 +0000
commita2e1f71fc25c29620af68246125f81151f80f733 (patch)
tree750311b3eda243442732c7e779b20de5397da4a6 /os/hal/platforms/STM32
parent8da551f1a3410cd700b20b0679147f491b45a483 (diff)
downloadChibiOS-a2e1f71fc25c29620af68246125f81151f80f733.tar.gz
ChibiOS-a2e1f71fc25c29620af68246125f81151f80f733.tar.bz2
ChibiOS-a2e1f71fc25c29620af68246125f81151f80f733.zip
Documentation related improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2403 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32')
-rw-r--r--os/hal/platforms/STM32/pwm_lld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/pwm_lld.c b/os/hal/platforms/STM32/pwm_lld.c
index 249de1651..6a0cf311a 100644
--- a/os/hal/platforms/STM32/pwm_lld.c
+++ b/os/hal/platforms/STM32/pwm_lld.c
@@ -114,7 +114,7 @@ static void serve_interrupt(PWMDriver *pwmp) {
if ((sr & TIM_SR_CC4IF) != 0)
pwmp->pd_config->pc_channels[3].pcc_callback(pwmp);
if ((sr & TIM_SR_UIF) != 0)
- pwmp->pd_config->pc_callback();
+ pwmp->pd_config->pc_callback(pwmp);
}
#endif /* STM32_PWM_USE_TIM2 || STM32_PWM_USE_TIM3 || STM32_PWM_USE_TIM4 */
@@ -416,7 +416,7 @@ void pwm_lld_stop(PWMDriver *pwmp) {
* @brief Enables a PWM channel.
*
* @param[in] pwmp pointer to a @p PWMDriver object
- * @param[in] channel PWM channel identifier
+ * @param[in] channel PWM channel identifier (0...PWM_CHANNELS-1])
* @param[in] width PWM pulse width as clock pulses number
*
* @notapi
@@ -494,7 +494,7 @@ void pwm_lld_enable_channel(PWMDriver *pwmp,
* idle state.
*
* @param[in] pwmp pointer to a @p PWMDriver object
- * @param[in] channel PWM channel identifier
+ * @param[in] channel PWM channel identifier (0...PWM_CHANNELS-1])
*
* @notapi
*/