From 3ff9afd04851ec97d66d6833520b49dc18f35ea4 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 8 Dec 2009 08:47:14 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1389 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/pwm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal/include') diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index dfc55d30c..a6dda5e71 100644 --- a/os/hal/include/pwm.h +++ b/os/hal/include/pwm.h @@ -27,6 +27,8 @@ #ifndef _PWM_H_ #define _PWM_H_ +#if CH_HAL_USEPWM || defined(__DOXYGEN__) + /** * @brief Driver state machine possible states. */ @@ -82,6 +84,8 @@ extern "C" { } #endif +#endif /* CH_HAL_USEPWM */ + #endif /* _PWM_H_ */ /** @} */ -- cgit v1.2.3