aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-15 22:17:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-15 22:17:35 +0000
commit7fa620e9fb996b0763554dec4ec91aa299e36e38 (patch)
tree5e1365e7f5e049c152d30720f800dbbdefc04856 /os
parent5577312e9eb56536ce7fac79aa08a06111a1337f (diff)
downloadChibiOS-7fa620e9fb996b0763554dec4ec91aa299e36e38.tar.gz
ChibiOS-7fa620e9fb996b0763554dec4ec91aa299e36e38.tar.bz2
ChibiOS-7fa620e9fb996b0763554dec4ec91aa299e36e38.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7285 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c b/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c
index 4e013b755..d6a4affd8 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c
@@ -424,7 +424,7 @@ void pwm_lld_init(void) {
*/
void pwm_lld_start(PWMDriver *pwmp) {
uint32_t psc;
- uint16_t ccer;
+ uint32_t ccer;
if (pwmp->state == PWM_STOP) {
/* Clock activation and timer reset.*/