aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 13:45:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 13:45:22 +0000
commit32e43fdb02ddb7582866c29dad5e6c87f3315605 (patch)
tree3bed10e4984bde1900b7f451f4d6d70b005a75be /os/hal/include
parent2847f7574d257886e31c8f6d96bfebc82c2b4ee5 (diff)
downloadChibiOS-32e43fdb02ddb7582866c29dad5e6c87f3315605.tar.gz
ChibiOS-32e43fdb02ddb7582866c29dad5e6c87f3315605.tar.bz2
ChibiOS-32e43fdb02ddb7582866c29dad5e6c87f3315605.zip
Fixed bug 3114481.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2409 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/pwm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h
index 867cc1de6..ff1ba575f 100644
--- a/os/hal/include/pwm.h
+++ b/os/hal/include/pwm.h
@@ -82,7 +82,7 @@ typedef enum {
* @iclass
*/
#define pwmEnableChannelI(pwmp, channel, width) { \
- pwm_lld_enable_channel(pwmp, channel, width); \
+ pwm_lld_set_channel(pwmp, channel, width); \
}
/**
@@ -97,7 +97,7 @@ typedef enum {
* @iclass
*/
#define pwmDisableChannelI(pwmp, channel) { \
- pwm_lld_disable_channel(pwmp, channel); \
+ pwm_lld_set_channel(pwmp, channel, 0); \
}
/*===========================================================================*/