diff options
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_ */
/** @} */
|