diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-04 07:44:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-04 07:44:43 +0000 |
commit | 397bc099cd653fc3dbc73cdb5ceabfa90d5e0755 (patch) | |
tree | 58c617b10a14112ff2cef85d48caf9ada16840be | |
parent | b02567ddf87fa6fd86069d0f2be22d5fa9bfc019 (diff) | |
download | ChibiOS-397bc099cd653fc3dbc73cdb5ceabfa90d5e0755.tar.gz ChibiOS-397bc099cd653fc3dbc73cdb5ceabfa90d5e0755.tar.bz2 ChibiOS-397bc099cd653fc3dbc73cdb5ceabfa90d5e0755.zip |
Fixed bug #407.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5670 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/include/pwm.h | 8 | ||||
-rw-r--r-- | readme.txt | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index a735cfbc2..e943df382 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); \
}
/**
diff --git a/readme.txt b/readme.txt index 9547ba4b9..7a56d3b78 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,7 @@ *****************************************************************************
*** 2.5.2 ***
+- FIX: Fixed wrong macro in PWM driver (bug #407)(backported to 2.4.4).
- FIX: Fixed USB driver possible deadlock under certain configurations (bug
#406)(backported to 2.4.4).
- FIX: Fixed USB driver cannot be stopped (bug #405)(backported to 2.4.4).
|