aboutsummaryrefslogtreecommitdiff
path: root/keyboards/evyd13/gh80_3700/gh80_3700.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/evyd13/gh80_3700/gh80_3700.c')
-rw-r--r--keyboards/evyd13/gh80_3700/gh80_3700.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/keyboards/evyd13/gh80_3700/gh80_3700.c b/keyboards/evyd13/gh80_3700/gh80_3700.c
index 617de50d5d..6d903e48e1 100644
--- a/keyboards/evyd13/gh80_3700/gh80_3700.c
+++ b/keyboards/evyd13/gh80_3700/gh80_3700.c
@@ -16,22 +16,22 @@
#include "quantum.h"
void led_init_ports(void) {
- setPinOutput(E6);
- setPinOutput(B1);
- setPinOutput(D0);
- setPinOutput(D1);
- setPinOutput(F0);
+ gpio_set_pin_output(E6);
+ gpio_set_pin_output(B1);
+ gpio_set_pin_output(D0);
+ gpio_set_pin_output(D1);
+ gpio_set_pin_output(F0);
- writePinHigh(E6);
- writePinHigh(B1);
- writePinHigh(D0);
- writePinHigh(D1);
- writePinHigh(F0);
+ gpio_write_pin_high(E6);
+ gpio_write_pin_high(B1);
+ gpio_write_pin_high(D0);
+ gpio_write_pin_high(D1);
+ gpio_write_pin_high(F0);
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
- writePin(E6, !led_state.num_lock);
+ gpio_write_pin(E6, !led_state.num_lock);
}
return true;