aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/lazydesigners/dimple/dimple.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/lazydesigners/dimple/dimple.c b/keyboards/lazydesigners/dimple/dimple.c
index 5f9571651..69fb2253f 100644
--- a/keyboards/lazydesigners/dimple/dimple.c
+++ b/keyboards/lazydesigners/dimple/dimple.c
@@ -16,9 +16,15 @@
16#include "dimple.h" 16#include "dimple.h"
17 17
18void dimple_led_on() { 18void dimple_led_on() {
19 DDRE |= (1 << 6); PORTE &= ~(1 << 6); 19 writePinHigh(E6);
20} 20}
21 21
22void dimple_led_off() { 22void dimple_led_off() {
23 DDRE &= ~(1 << 6); PORTE &= ~(1 << 6); 23 writePinLow(E6);
24}
25
26void keyboard_pre_init_kb(void) {
27 // Initialize Caps Lock LED
28 setPinOutput(E6);
29 keyboard_pre_init_user();
24} 30}