summaryrefslogtreecommitdiffstats
path: root/keyboards/redox_w/redox_w.c
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2022-02-22 05:21:40 +1100
committerfauxpark <fauxpark@gmail.com>2022-02-22 05:21:40 +1100
commit145dca0e4913953d64619746d2462bc1569aa9fe (patch)
treedd263141192b2898f0e9338550c1bc7d5ca996cc /keyboards/redox_w/redox_w.c
parenta5901a6c0d4f5495279467650797a4fa0ac40368 (diff)
parent31f590066646b0be76d3ba9bb1b38174b46d507f (diff)
Merge remote-tracking branch 'upstream/master' into develop
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);
}