summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/rev3_drop/mcuconf.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2021-09-19 14:43:37 -0400
committerGitHub <noreply@github.com>2021-09-19 11:43:37 -0700
commitfa5d21a58ebfe9782225c857ad2e533a0f65d161 (patch)
treeea7c0c8e70b2c0f64396fa92ed521a5f2f4cd40c /keyboards/preonic/rev3_drop/mcuconf.h
parent0e34efd9a2dd401a7cd38f552f7247b8afcb65fc (diff)
[Keyboard] Enables I2C for OLKB rev*_drop boards (#14514)
Co-authored-by: daskygit <32983009+daskygit@users.noreply.github.com>
Diffstat (limited to 'keyboards/preonic/rev3_drop/mcuconf.h')
-rw-r--r--keyboards/preonic/rev3_drop/mcuconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/preonic/rev3_drop/mcuconf.h b/keyboards/preonic/rev3_drop/mcuconf.h
index 31abf13b63..b51bf6708e 100644
--- a/keyboards/preonic/rev3_drop/mcuconf.h
+++ b/keyboards/preonic/rev3_drop/mcuconf.h
@@ -37,3 +37,7 @@
// TIM2 to TIM3.
#undef STM32_ST_USE_TIMER
#define STM32_ST_USE_TIMER 3
+
+// enable i2c
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE \ No newline at end of file