diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 08:47:14 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 08:47:14 +0000 |
commit | 3ff9afd04851ec97d66d6833520b49dc18f35ea4 (patch) | |
tree | 64490d99322e87fa9457efa59808fed5dff2a341 /os/hal/include | |
parent | 456490bf06d9d6eccf7a02b18fba94058c81f26c (diff) | |
download | ChibiOS-3ff9afd04851ec97d66d6833520b49dc18f35ea4.tar.gz ChibiOS-3ff9afd04851ec97d66d6833520b49dc18f35ea4.tar.bz2 ChibiOS-3ff9afd04851ec97d66d6833520b49dc18f35ea4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1389 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/pwm.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_ */
/** @} */
|