aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/mechwild/obe/config.h2
-rw-r--r--keyboards/mechwild/obe/obe.c6
-rw-r--r--keyboards/mechwild/obe/rules.mk2
3 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/mechwild/obe/config.h b/keyboards/mechwild/obe/config.h
index 9cbc01263..03ff96878 100644
--- a/keyboards/mechwild/obe/config.h
+++ b/keyboards/mechwild/obe/config.h
@@ -62,7 +62,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
62#define LED_CAPS_LOCK_PIN B9 62#define LED_CAPS_LOCK_PIN B9
63 63
64/* RGB settings, uncomment this define to enable RGB */ 64/* RGB settings, uncomment this define to enable RGB */
65//#define RGB_DI_PIN A0 65#define RGB_DI_PIN A0
66#ifdef RGB_DI_PIN 66#ifdef RGB_DI_PIN
67# define RGBLED_NUM 10 67# define RGBLED_NUM 10
68# define RGBLIGHT_HUE_STEP 8 68# define RGBLIGHT_HUE_STEP 8
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; }
diff --git a/keyboards/mechwild/obe/rules.mk b/keyboards/mechwild/obe/rules.mk
index 8271e9d1d..fb66887e6 100644
--- a/keyboards/mechwild/obe/rules.mk
+++ b/keyboards/mechwild/obe/rules.mk
@@ -11,7 +11,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
11# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 11# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
12NKRO_ENABLE = no # USB Nkey Rollover 12NKRO_ENABLE = no # USB Nkey Rollover
13BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 13BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
14RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow 14RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
15AUDIO_ENABLE = no # Audio output 15AUDIO_ENABLE = no # Audio output
16ENCODER_ENABLE = yes # Encoder Enabled 16ENCODER_ENABLE = yes # Encoder Enabled
17 17