aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/src/hal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c
index 864789858..0f5bb9148 100644
--- a/os/hal/src/hal.c
+++ b/os/hal/src/hal.c
@@ -46,6 +46,9 @@ void halInit(void) {
#if CH_HAL_USE_MAC
macInit();
#endif
+#if CH_HAL_USE_PWM
+ pwmInit();
+#endif
#if CH_HAL_USE_SERIAL
sdInit();
#endif