diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-02-07 11:50:45 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-02-07 11:50:45 +0000 |
commit | 6eb46acf16600aedba6608bc06f6eab0892a43e9 (patch) | |
tree | ad48085ca774d0faff538236e49331ce60856512 /os/hal/src/pwm.c | |
parent | c0589fa3d119be1c07bf9f38f80f53bc612b0e63 (diff) | |
download | ChibiOS-6eb46acf16600aedba6608bc06f6eab0892a43e9.tar.gz ChibiOS-6eb46acf16600aedba6608bc06f6eab0892a43e9.tar.bz2 ChibiOS-6eb46acf16600aedba6608bc06f6eab0892a43e9.zip |
Added I-Class functions to the PWM driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7676 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/pwm.c')
-rw-r--r-- | os/hal/src/pwm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/src/pwm.c b/os/hal/src/pwm.c index 427e529f3..e569fa671 100644 --- a/os/hal/src/pwm.c +++ b/os/hal/src/pwm.c @@ -223,7 +223,7 @@ void pwmEnablePeriodicNotification(PWMDriver *pwmp) { osalDbgAssert(pwmp->state == PWM_READY, "not ready");
osalDbgAssert(pwmp->config->callback != NULL, "undefined periodic callback");
- pwm_lld_enable_periodic_notification(pwmp);
+ pwmEnablePeriodicNotificationI(pwmp);
osalSysUnlock();
}
@@ -246,7 +246,7 @@ void pwmDisablePeriodicNotification(PWMDriver *pwmp) { osalDbgAssert(pwmp->state == PWM_READY, "not ready");
osalDbgAssert(pwmp->config->callback != NULL, "undefined periodic callback");
- pwm_lld_disable_periodic_notification(pwmp);
+ pwmDisablePeriodicNotificationI(pwmp);
osalSysUnlock();
}
@@ -274,7 +274,7 @@ void pwmEnableChannelNotification(PWMDriver *pwmp, pwmchannel_t channel) { osalDbgAssert(pwmp->config->channels[channel].callback != NULL,
"undefined channel callback");
- pwm_lld_enable_channel_notification(pwmp, channel);
+ pwmEnableChannelNotificationI(pwmp, channel);
osalSysUnlock();
}
@@ -302,7 +302,7 @@ void pwmDisableChannelNotification(PWMDriver *pwmp, pwmchannel_t channel) { osalDbgAssert(pwmp->config->channels[channel].callback != NULL,
"undefined channel callback");
- pwm_lld_disable_channel_notification(pwmp, channel);
+ pwmDisableChannelNotificationI(pwmp, channel);
osalSysUnlock();
}
|