aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/pwm_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-01 17:29:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-01 17:29:56 +0000
commitd8be44136c1e6d02ee105ac0791f9e6732551fec (patch)
tree31636040799a284f1f3b650f4ece699f4cf5ad7b /os/hal/templates/pwm_lld.h
parente1f07aa7c670e670890698ba99df7c07fb78cb5a (diff)
downloadChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.tar.gz
ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.tar.bz2
ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.zip
Fixed bug 3100946, renamed HAL switches removing the CH_ part.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2326 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/pwm_lld.h')
-rw-r--r--os/hal/templates/pwm_lld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/templates/pwm_lld.h b/os/hal/templates/pwm_lld.h
index 499d6e11c..1b0b38f75 100644
--- a/os/hal/templates/pwm_lld.h
+++ b/os/hal/templates/pwm_lld.h
@@ -28,6 +28,8 @@
#ifndef _PWM_LLD_H_
#define _PWM_LLD_H_
+#if HAL_USE_PWM || defined(__DOXYGEN__)
+
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -184,6 +186,8 @@ extern "C" {
}
#endif
+#endif /* HAL_USE_PWM */
+
#endif /* _PWM_LLD_H_ */
/** @} */