diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-14 07:52:27 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-14 07:52:27 +0000 |
commit | 653a7e9ad0f0d946cb277258933043f3c9c442c2 (patch) | |
tree | c361754fac37147d53ec8c764e24f960fb88ef32 /os/hal/src | |
parent | 3a569f21488f8107052516ac1f0b54335807d5d4 (diff) | |
download | ChibiOS-653a7e9ad0f0d946cb277258933043f3c9c442c2.tar.gz ChibiOS-653a7e9ad0f0d946cb277258933043f3c9c442c2.tar.bz2 ChibiOS-653a7e9ad0f0d946cb277258933043f3c9c442c2.zip |
Fixed bug #534.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7271 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/pwm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/src/pwm.c b/os/hal/src/pwm.c index eb35e434e..fe277353e 100644 --- a/os/hal/src/pwm.c +++ b/os/hal/src/pwm.c @@ -100,6 +100,7 @@ void pwmStart(PWMDriver *pwmp, const PWMConfig *config) { pwmp->config = config;
pwmp->period = config->period;
pwm_lld_start(pwmp);
+ pwmp->enabled = 0;
pwmp->state = PWM_READY;
osalSysUnlock();
}
|