summaryrefslogtreecommitdiff
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 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