aboutsummaryrefslogtreecommitdiff
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 195d4a767..8612764ae 100644
--- a/keyboards/mechwild/obe/obe.c
+++ b/keyboards/mechwild/obe/obe.c
@@ -16,6 +16,12 @@
16 16
17#include "obe.h" 17#include "obe.h"
18 18
19void board_init(void) {
20 // B9 is configured as I2C1_SDA in the board file; that function must be
21 // disabled before using B7 as I2C1_SDA.
22 setPinInputHigh(B9);
23}
24
19#ifdef ENCODER_ENABLE 25#ifdef ENCODER_ENABLE
20bool encoder_update_kb(uint8_t index, bool clockwise) { 26bool encoder_update_kb(uint8_t index, bool clockwise) {
21 if (!encoder_update_user(index, clockwise)) { return false; } 27 if (!encoder_update_user(index, clockwise)) { return false; }