diff options
author | Drashna Jael're <drashna@live.com> | 2020-02-15 17:13:47 -0800 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | 8402fcc22d4a4ede42b34e72ab84c2b8bb6a9ba7 (patch) | |
tree | ffd36390a7d6d57f794687f8384a927b62ddca8c /keyboards | |
parent | a714e1e0e3335babd2f20e0723228910b3c1cc29 (diff) |
Fixes for Moonlander
Removed i2c_start, as it's no longer needed and causes deadlocks now. Also fixed numbering of default keymap.
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/moonlander/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/moonlander/matrix.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/moonlander/keymaps/default/keymap.c b/keyboards/moonlander/keymaps/default/keymap.c index 2005944076..92fcd80a6d 100644 --- a/keyboards/moonlander/keymaps/default/keymap.c +++ b/keyboards/moonlander/keymaps/default/keymap.c @@ -49,7 +49,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { RGB_HUD, RGB_VAD, RGB_HUI, TOGGLE_LAYER_COLOR,KC_TRNS, KC_TRNS ), - [1] = LAYOUT_moonlander( + [MDIA] = LAYOUT_moonlander( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, diff --git a/keyboards/moonlander/matrix.c b/keyboards/moonlander/matrix.c index 9fef2f2746..e5b9b81a2e 100644 --- a/keyboards/moonlander/matrix.c +++ b/keyboards/moonlander/matrix.c @@ -64,7 +64,6 @@ uint8_t mcp23018_rx[1]; void mcp23018_init(void) { i2c_init(); - i2c_start(MCP23018_DEFAULT_ADDRESS << 1); // #define MCP23_ROW_PINS { GPB5, GBP4, GBP3, GBP2, GBP1, GBP0 } outputs // #define MCP23_COL_PINS { GPA0, GBA1, GBA2, GBA3, GBA4, GBA5, GBA6 } inputs |