From 278871357081b36670bea91eb09e537054c71cac Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 21 Sep 2014 11:34:24 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7297 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/pwm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index 6ecd93717..e77fa7617 100644 --- a/os/hal/include/pwm.h +++ b/os/hal/include/pwm.h @@ -169,13 +169,13 @@ typedef void (*pwmcallback_t)(PWMDriver *pwmp); * guaranteed. * * @param[in] pwmp pointer to a @p PWMDriver object - * @param[in] period new cycle time in ticks + * @param[in] value new cycle time in ticks * * @iclass */ -#define pwmChangePeriodI(pwmp, period) { \ - (pwmp)->period = (period); \ - pwm_lld_change_period(pwmp, period); \ +#define pwmChangePeriodI(pwmp, value) { \ + (pwmp)->period = (value); \ + pwm_lld_change_period(pwmp, value); \ } /**