From e00eed4ef1c9dd94b70ef28f69aedb276cd400ac Mon Sep 17 00:00:00 2001 From: Christopher Hoage Date: Sun, 30 Apr 2023 11:59:45 -0700 Subject: [PATCH] Repair Spleeb i2c config and chrishoage keymap (#20644) --- keyboards/spleeb/config.h | 2 +- keyboards/spleeb/keymaps/chrishoage/keymap.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/spleeb/config.h b/keyboards/spleeb/config.h index 72a09e89c99a..8a6fb13c4e80 100644 --- a/keyboards/spleeb/config.h +++ b/keyboards/spleeb/config.h @@ -22,7 +22,7 @@ # define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE #endif // POINTING_DEVICE_ENABLE -#define I2C_DRIVER I2CD1 +#define I2C_DRIVER I2CD0 #define I2C1_SDA_PIN GP16 #define I2C1_SCL_PIN GP17 diff --git a/keyboards/spleeb/keymaps/chrishoage/keymap.c b/keyboards/spleeb/keymaps/chrishoage/keymap.c index 2650c1aebf0a..c3dfb8f02b45 100644 --- a/keyboards/spleeb/keymaps/chrishoage/keymap.c +++ b/keyboards/spleeb/keymaps/chrishoage/keymap.c @@ -4,7 +4,7 @@ #include QMK_KEYBOARD_H // Double tap TD(0) to enter bootloader -static void enter_qk_boot(qk_tap_dance_state_t *state, void *user_data) { +static void enter_qk_boot(tap_dance_state_t *state, void *user_data) { if (state->count >= 2) { reset_keyboard(); reset_tap_dance(state); @@ -13,7 +13,7 @@ static void enter_qk_boot(qk_tap_dance_state_t *state, void *user_data) { enum SpleebLayer { _BASE = 0, _FN, _MOUSE }; -qk_tap_dance_action_t tap_dance_actions[] = {[0] = ACTION_TAP_DANCE_FN(enter_qk_boot)}; +tap_dance_action_t tap_dance_actions[] = {[0] = ACTION_TAP_DANCE_FN(enter_qk_boot)}; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {