From 8ba537fa23aa1520949981f1afe1a71338bf8a7a Mon Sep 17 00:00:00 2001 From: Erovia Date: Wed, 26 May 2021 20:49:30 +0200 Subject: Keyboard: Planck THK (#12597) Co-authored-by: Ryan Co-authored-by: Jack Humbert Co-authored-by: Drashna Jaelre --- keyboards/planck/planck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/planck/planck.c') diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c index 5a65d5e5f3..80aa9f3ba3 100644 --- a/keyboards/planck/planck.c +++ b/keyboards/planck/planck.c @@ -12,8 +12,8 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { __attribute__ ((weak)) void matrix_init_kb(void) { - // Turn status LED on - #ifdef __AVR__ + // Turn status LED on, with the exception of THK + #if defined(__AVR_ATmega32U4__) setPinOutput(E6); writePinHigh(E6); #endif -- cgit v1.2.1