diff options
| author | Christopher Hoage <iam@chrishoage.com> | 2023-04-30 11:59:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-30 11:59:45 -0700 |
| commit | 0b62a4ef7216ea71281047984c0a9ca84b84a1d4 (patch) | |
| tree | a09192d972462028a8dea77564449ba6240b357f /keyboards/spleeb | |
| parent | c55c7fed833701c0724a2465703c258518079899 (diff) | |
Repair Spleeb i2c config and chrishoage keymap (#20644)
Diffstat (limited to 'keyboards/spleeb')
| -rw-r--r-- | keyboards/spleeb/config.h | 2 | ||||
| -rw-r--r-- | 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 72a09e89c9..8a6fb13c4e 100644 --- a/keyboards/spleeb/config.h +++ b/keyboards/spleeb/config.h | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | # define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE | 22 | # define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE |
| 23 | #endif // POINTING_DEVICE_ENABLE | 23 | #endif // POINTING_DEVICE_ENABLE |
| 24 | 24 | ||
| 25 | #define I2C_DRIVER I2CD1 | 25 | #define I2C_DRIVER I2CD0 |
| 26 | #define I2C1_SDA_PIN GP16 | 26 | #define I2C1_SDA_PIN GP16 |
| 27 | #define I2C1_SCL_PIN GP17 | 27 | #define I2C1_SCL_PIN GP17 |
| 28 | 28 | ||
diff --git a/keyboards/spleeb/keymaps/chrishoage/keymap.c b/keyboards/spleeb/keymaps/chrishoage/keymap.c index 2650c1aebf..c3dfb8f02b 100644 --- a/keyboards/spleeb/keymaps/chrishoage/keymap.c +++ b/keyboards/spleeb/keymaps/chrishoage/keymap.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | #include QMK_KEYBOARD_H | 4 | #include QMK_KEYBOARD_H |
| 5 | 5 | ||
| 6 | // Double tap TD(0) to enter bootloader | 6 | // Double tap TD(0) to enter bootloader |
| 7 | static void enter_qk_boot(qk_tap_dance_state_t *state, void *user_data) { | 7 | static void enter_qk_boot(tap_dance_state_t *state, void *user_data) { |
| 8 | if (state->count >= 2) { | 8 | if (state->count >= 2) { |
| 9 | reset_keyboard(); | 9 | reset_keyboard(); |
| 10 | reset_tap_dance(state); | 10 | reset_tap_dance(state); |
| @@ -13,7 +13,7 @@ static void enter_qk_boot(qk_tap_dance_state_t *state, void *user_data) { | |||
| 13 | 13 | ||
| 14 | enum SpleebLayer { _BASE = 0, _FN, _MOUSE }; | 14 | enum SpleebLayer { _BASE = 0, _FN, _MOUSE }; |
| 15 | 15 | ||
| 16 | qk_tap_dance_action_t tap_dance_actions[] = {[0] = ACTION_TAP_DANCE_FN(enter_qk_boot)}; | 16 | tap_dance_action_t tap_dance_actions[] = {[0] = ACTION_TAP_DANCE_FN(enter_qk_boot)}; |
| 17 | 17 | ||
| 18 | // clang-format off | 18 | // clang-format off |
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
