summaryrefslogtreecommitdiff
path: root/keyboards/mechwild/obe/obe.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/obe/obe.c')
-rw-r--r--keyboards/mechwild/obe/obe.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/mechwild/obe/obe.c b/keyboards/mechwild/obe/obe.c
index 195d4a7679..8612764ae5 100644
--- a/keyboards/mechwild/obe/obe.c
+++ b/keyboards/mechwild/obe/obe.c
@@ -16,6 +16,12 @@
#include "obe.h"
+void board_init(void) {
+ // B9 is configured as I2C1_SDA in the board file; that function must be
+ // disabled before using B7 as I2C1_SDA.
+ setPinInputHigh(B9);
+}
+
#ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise)) { return false; }