aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 21:31:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 21:31:35 +0000
commit955425572d170dc100034ce991911854bf600a30 (patch)
tree29cdb46b02e87de9cad84f3674df6da851dfb9cb /os/hal/include
parent2018975c3ebca410dd2f8b9a35fe510f4996fa77 (diff)
downloadChibiOS-955425572d170dc100034ce991911854bf600a30.tar.gz
ChibiOS-955425572d170dc100034ce991911854bf600a30.tar.bz2
ChibiOS-955425572d170dc100034ce991911854bf600a30.zip
Had to go back...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2416 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 5d36e49b5..6570e9fdf 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_set_channel(pwmp, channel, width)
+ pwm_lld_enable_channel(pwmp, channel, width)
/**
* @brief Disables a PWM channel.
@@ -96,7 +96,7 @@ typedef enum {
* @iclass
*/
#define pwmDisableChannelI(pwmp, channel) \
- pwm_lld_set_channel(pwmp, channel, 0)
+ pwm_lld_disable_channel(pwmp, channel)
/*===========================================================================*/
/* External declarations. */