diff options
author | Kyle McCreery <[email protected]> | 2021-10-10 16:30:00 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-10 21:30:00 +0100 |
commit | fa1a59e7f843f07b333b573384584e360d1d3c75 (patch) | |
tree | e68056a919430d9c2fa14db5d1e23a3603f84dd4 /keyboards/mechwild/obe/obe.c | |
parent | 06124f9885adb791d69fbab16d5438b970ed8bbd (diff) | |
download | qmk_firmware-fa1a59e7f843f07b333b573384584e360d1d3c75.tar.gz qmk_firmware-fa1a59e7f843f07b333b573384584e360d1d3c75.zip |
Changing RGB default to on so it plays well with VIA's QMK lighting section and adding the B9 init workaround to obe.c so the I2C EEPROM will initialize correctly since we are using B9 for caps lock indicator. (#14677)
Diffstat (limited to 'keyboards/mechwild/obe/obe.c')
-rw-r--r-- | keyboards/mechwild/obe/obe.c | 6 |
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; } |