aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/pwm.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-07 08:11:03 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-07 08:11:03 +0000
commitbec915e05274a94f2b1a5e2443f04de826dd1f6e (patch)
treecec2044911766f5dc5a7bd8b8c9ffe0fe81734f8 /os/hal/include/pwm.h
parent4afa0b98dff9eac6a94c104acf900e15147d2da3 (diff)
parentb43c71424d201583822b26d13d11f7e3634cb515 (diff)
downloadChibiOS-bec915e05274a94f2b1a5e2443f04de826dd1f6e.tar.gz
ChibiOS-bec915e05274a94f2b1a5e2443f04de826dd1f6e.tar.bz2
ChibiOS-bec915e05274a94f2b1a5e2443f04de826dd1f6e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6916 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/pwm.h')
-rw-r--r--os/hal/include/pwm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h
index cdd1f43ca..4ece68d70 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] value new cycle time in ticks
+ * @param[in] period new cycle time in ticks
*
* @iclass
*/
-#define pwmChangePeriodI(pwmp, value) { \
- (pwmp)->period = (value); \
- pwm_lld_change_period(pwmp, value); \
+#define pwmChangePeriodI(pwmp, period) { \
+ (pwmp)->period = (period); \
+ pwm_lld_change_period(pwmp, period); \
}
/**