aboutsummaryrefslogtreecommitdiff
path: root/keyboards/redox
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/redox')
-rw-r--r--keyboards/redox/wireless/wireless.c16
-rw-r--r--keyboards/redox/wireless/wireless.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/keyboards/redox/wireless/wireless.c b/keyboards/redox/wireless/wireless.c
index 30cefd9f4e..a82afbf603 100644
--- a/keyboards/redox/wireless/wireless.c
+++ b/keyboards/redox/wireless/wireless.c
@@ -18,15 +18,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "wireless.h"
void led_init(void) {
- setPinOutput(D0);
- setPinOutput(D1);
- setPinOutput(F4);
- setPinOutput(F5);
+ gpio_set_pin_output(D0);
+ gpio_set_pin_output(D1);
+ gpio_set_pin_output(F4);
+ gpio_set_pin_output(F5);
- writePinHigh(D0);
- writePinHigh(D1);
- writePinHigh(F4);
- writePinHigh(F5);
+ gpio_write_pin_high(D0);
+ gpio_write_pin_high(D1);
+ gpio_write_pin_high(F4);
+ gpio_write_pin_high(F5);
}
diff --git a/keyboards/redox/wireless/wireless.h b/keyboards/redox/wireless/wireless.h
index a0ba09aff3..f752e0b13f 100644
--- a/keyboards/redox/wireless/wireless.h
+++ b/keyboards/redox/wireless/wireless.h
@@ -19,14 +19,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "quantum.h"
-#define red_led_off writePinHigh(F5)
-#define red_led_on writePinLow(F5)
-#define blu_led_off writePinHigh(F4)
-#define blu_led_on writePinLow(F4)
-#define grn_led_off writePinHigh(D1)
-#define grn_led_on writePinLow(D1)
-#define wht_led_off writePinHigh(D0)
-#define wht_led_on writePinLow(D0)
+#define red_led_off gpio_write_pin_high(F5)
+#define red_led_on gpio_write_pin_low(F5)
+#define blu_led_off gpio_write_pin_high(F4)
+#define blu_led_on gpio_write_pin_low(F4)
+#define grn_led_off gpio_write_pin_high(D1)
+#define grn_led_on gpio_write_pin_low(D1)
+#define wht_led_off gpio_write_pin_high(D0)
+#define wht_led_on gpio_write_pin_low(D0)
#define set_led_off red_led_off; grn_led_off; blu_led_off; wht_led_off
#define set_led_red red_led_on; grn_led_off; blu_led_off; wht_led_off