summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/planck.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-05-26 18:50:04 +0000
committerQMK Bot <hello@qmk.fm>2021-05-26 18:50:04 +0000
commita78964c91839e5bc682806b88635c3a1a3d01da5 (patch)
tree39e8cb0b9f9bb644e21701cf379beccaea4f06f0 /keyboards/planck/planck.c
parentf461adbd1dffa178042a4805137918a4bec3c118 (diff)
parent8ba537fa23aa1520949981f1afe1a71338bf8a7a (diff)
Merge remote-tracking branch 'origin/master' into develop
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