summaryrefslogtreecommitdiffstats
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 5b86344536..48ea7d3bed 100644
--- a/keyboards/redox_w/redox_w.c
+++ b/keyboards/redox_w/redox_w.c
@@ -1,10 +1,15 @@
#include "redox_w.h"
void led_init(void) {
- DDRD |= (1<<1);
- PORTD |= (1<<1);
- DDRF |= (1<<4) | (1<<5);
- PORTF |= (1<<4) | (1<<5);
+ setPinOutput(D0);
+ setPinOutput(D1);
+ setPinOutput(F4);
+ setPinOutput(F5);
+
+ writePinHigh(D0);
+ writePinHigh(D1);
+ writePinHigh(F4);
+ writePinHigh(F5);
}