commit 0b62a4ef7216ea71281047984c0a9ca84b84a1d4
parent c55c7fed833701c0724a2465703c258518079899
Author: Christopher Hoage <iam@chrishoage.com>
Date: Sun, 30 Apr 2023 11:59:45 -0700
Repair Spleeb i2c config and chrishoage keymap (#20644)
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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] = {