From 97b8ade1aa7dd96027d10dc92da2a2ccbde61b8c Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 21 Oct 2019 16:38:22 +1100 Subject: [Keyboard] Use GPIO macros for E6 LED in Planck and Preonic default keymaps (#7098) --- keyboards/preonic/rev1/rev1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/preonic/rev1') 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 @@ void matrix_init_kb(void) { // Turn status LED on - DDRE |= (1<<6); - PORTE |= (1<<6); + setPinOutput(E6); + writePinHigh(E6); matrix_init_user(); }; -- cgit v1.2.3-70-g09d2