aboutsummaryrefslogtreecommitdiff
path: root/keyboards/redox_w/redox_w.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/redox_w/redox_w.c')
-rw-r--r--keyboards/redox_w/redox_w.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/redox_w/redox_w.c b/keyboards/redox_w/redox_w.c
index 5b8634453..48ea7d3be 100644
--- a/keyboards/redox_w/redox_w.c
+++ b/keyboards/redox_w/redox_w.c
@@ -1,10 +1,15 @@
1#include "redox_w.h" 1#include "redox_w.h"
2 2
3void led_init(void) { 3void led_init(void) {
4 DDRD |= (1<<1); 4 setPinOutput(D0);
5 PORTD |= (1<<1); 5 setPinOutput(D1);
6 DDRF |= (1<<4) | (1<<5); 6 setPinOutput(F4);
7 PORTF |= (1<<4) | (1<<5); 7 setPinOutput(F5);
8
9 writePinHigh(D0);
10 writePinHigh(D1);
11 writePinHigh(F4);
12 writePinHigh(F5);
8} 13}
9 14
10 15