diff options
Diffstat (limited to 'keyboards/planck/planck.c')
| -rw-r--r-- | keyboards/planck/planck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c index d9e3f00f2..5a65d5e5f 100644 --- a/keyboards/planck/planck.c +++ b/keyboards/planck/planck.c | |||
| @@ -14,8 +14,8 @@ __attribute__ ((weak)) | |||
| 14 | void matrix_init_kb(void) { | 14 | void matrix_init_kb(void) { |
| 15 | // Turn status LED on | 15 | // Turn status LED on |
| 16 | #ifdef __AVR__ | 16 | #ifdef __AVR__ |
| 17 | DDRE |= (1<<6); | 17 | setPinOutput(E6); |
| 18 | PORTE |= (1<<6); | 18 | writePinHigh(E6); |
| 19 | #endif | 19 | #endif |
| 20 | 20 | ||
| 21 | matrix_init_user(); | 21 | matrix_init_user(); |
| @@ -26,4 +26,4 @@ const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_planck_grid( | |||
| 26 | 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, | 26 | 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, |
| 27 | 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, | 27 | 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, |
| 28 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 | 28 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 |
| 29 | ); \ No newline at end of file | 29 | ); |
