aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/planck.c
diff options
context:
space:
mode:
authorErovia <[email protected]>2021-05-26 20:49:30 +0200
committerGitHub <[email protected]>2021-05-26 20:49:30 +0200
commit8ba537fa23aa1520949981f1afe1a71338bf8a7a (patch)
tree5f91dde22e11e39cbe99062267a3d96ab1df027a /keyboards/planck/planck.c
parent0211e3003280a52e5f0ce262cfe347aeb68be722 (diff)
downloadqmk_firmware-8ba537fa23aa1520949981f1afe1a71338bf8a7a.tar.gz
qmk_firmware-8ba537fa23aa1520949981f1afe1a71338bf8a7a.zip
Keyboard: Planck THK (#12597)0.12.51
Co-authored-by: Ryan <[email protected]> Co-authored-by: Jack Humbert <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]>
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