summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/planck.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/planck.c')
-rw-r--r--keyboards/planck/planck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c
index 1f824efaae..a17036fcf1 100644
--- a/keyboards/planck/planck.c
+++ b/keyboards/planck/planck.c
@@ -12,8 +12,8 @@ const keypos_t PROGMEM 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