aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/pwm_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 15:33:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 15:33:39 +0000
commit03ee1dcc181977a44af9a43906fb1d41055ab713 (patch)
tree7fff35cf0c7e866dadf740e466345cf7410e8187 /os/hal/platforms/STM32/pwm_lld.c
parentcbbacdb239211fc33b0423b1213d2e58ac1692da (diff)
downloadChibiOS-03ee1dcc181977a44af9a43906fb1d41055ab713.tar.gz
ChibiOS-03ee1dcc181977a44af9a43906fb1d41055ab713.tar.bz2
ChibiOS-03ee1dcc181977a44af9a43906fb1d41055ab713.zip
Updated reports.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1395 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/pwm_lld.c')
-rw-r--r--os/hal/platforms/STM32/pwm_lld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/pwm_lld.c b/os/hal/platforms/STM32/pwm_lld.c
index 308556251..894123676 100644
--- a/os/hal/platforms/STM32/pwm_lld.c
+++ b/os/hal/platforms/STM32/pwm_lld.c
@@ -27,6 +27,8 @@
#include "ch.h"
#include "hal.h"
+#if CH_HAL_USE_PWM || defined(__DOXYGEN__)
+
/*===========================================================================*/
/* Low Level Driver exported variables. */
/*===========================================================================*/
@@ -130,4 +132,6 @@ void pwm_lld_disable_channel(PWMDriver *pwmp, pwmchannel_t channel) {
}
+#endif /* CH_HAL_USE_PWM */
+
/** @} */