aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/rev1/rev1.c
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-21 16:38:22 +1100
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-20 22:38:22 -0700
commit97b8ade1aa7dd96027d10dc92da2a2ccbde61b8c (patch)
tree226082aedeb66c8cb90c4ea4a39fef1b4e360a5d /keyboards/preonic/rev1/rev1.c
parent1533483bb2d1278d2c2528cf289392aa2a4f15e0 (diff)
downloadqmk_firmware-97b8ade1aa7dd96027d10dc92da2a2ccbde61b8c.tar.gz
qmk_firmware-97b8ade1aa7dd96027d10dc92da2a2ccbde61b8c.zip
[Keyboard] Use GPIO macros for E6 LED in Planck and Preonic default keymaps (#7098)
Diffstat (limited to 'keyboards/preonic/rev1/rev1.c')
-rw-r--r--keyboards/preonic/rev1/rev1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/preonic/rev1/rev1.c b/keyboards/preonic/rev1/rev1.c
index 4e8779608..fd09d7f2d 100644
--- a/keyboards/preonic/rev1/rev1.c
+++ b/keyboards/preonic/rev1/rev1.c
@@ -18,8 +18,8 @@
18void matrix_init_kb(void) { 18void matrix_init_kb(void) {
19 19
20 // Turn status LED on 20 // Turn status LED on
21 DDRE |= (1<<6); 21 setPinOutput(E6);
22 PORTE |= (1<<6); 22 writePinHigh(E6);
23 23
24 matrix_init_user(); 24 matrix_init_user();
25}; 25};