aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/hal.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/hal.c')
-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 d2b2fc528..156e75ea9 100644
--- a/os/hal/src/hal.c
+++ b/os/hal/src/hal.c
@@ -60,6 +60,9 @@ void halInit(void) {
#if CH_HAL_USE_CAN
canInit();
#endif
+#if CH_HAL_USE_I2C
+ i2cInit();
+#endif
#if CH_HAL_USE_MAC
macInit();
#endif