aboutsummaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lfkeyboards')
-rw-r--r--keyboards/lfkeyboards/lfk78/lfk78.c4
-rw-r--r--keyboards/lfkeyboards/lfk87/lfk87.c4
-rw-r--r--keyboards/lfkeyboards/mini1800/mini1800.c4
-rw-r--r--keyboards/lfkeyboards/smk65/revb/revb.c8
4 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c
index 50f1505050..3bf7c40d15 100644
--- a/keyboards/lfkeyboards/lfk78/lfk78.c
+++ b/keyboards/lfkeyboards/lfk78/lfk78.c
@@ -10,8 +10,8 @@ void matrix_init_kb(void) {
#ifndef AUDIO_ENABLE
// If we're not using the audio pin, drive it low
- setPinOutput(C6);
- writePinLow(C6);
+ gpio_set_pin_output(C6);
+ gpio_write_pin_low(C6);
#endif
#ifdef WATCHDOG_ENABLE
diff --git a/keyboards/lfkeyboards/lfk87/lfk87.c b/keyboards/lfkeyboards/lfk87/lfk87.c
index 849f0ebcc5..480a44ea84 100644
--- a/keyboards/lfkeyboards/lfk87/lfk87.c
+++ b/keyboards/lfkeyboards/lfk87/lfk87.c
@@ -12,8 +12,8 @@ void matrix_init_kb(void)
matrix_init_user();
#ifndef AUDIO_ENABLE
// If we're not using the audio pin, drive it low
- setPinOutput(C6);
- writePinLow(C6);
+ gpio_set_pin_output(C6);
+ gpio_write_pin_low(C6);
#endif
#ifdef WATCHDOG_ENABLE
// This is done after turning the layer LED red, if we're caught in a loop
diff --git a/keyboards/lfkeyboards/mini1800/mini1800.c b/keyboards/lfkeyboards/mini1800/mini1800.c
index 2ca87cfdb6..6ac615f871 100644
--- a/keyboards/lfkeyboards/mini1800/mini1800.c
+++ b/keyboards/lfkeyboards/mini1800/mini1800.c
@@ -13,8 +13,8 @@ void matrix_init_kb(void)
matrix_init_user();
#ifndef AUDIO_ENABLE
// If we're not using the audio pin, drive it low
- setPinOutput(C6);
- writePinLow(C6);
+ gpio_set_pin_output(C6);
+ gpio_write_pin_low(C6);
#endif
_delay_ms(500);
#ifdef WATCHDOG_ENABLE
diff --git a/keyboards/lfkeyboards/smk65/revb/revb.c b/keyboards/lfkeyboards/smk65/revb/revb.c
index 8eb9b9afe2..f519b413b5 100644
--- a/keyboards/lfkeyboards/smk65/revb/revb.c
+++ b/keyboards/lfkeyboards/smk65/revb/revb.c
@@ -27,12 +27,12 @@ void matrix_init_kb(void)
#ifdef AUDIO_ENABLE
// audio_init() sets PB5 to output and drives it low, which breaks our matrix
// so reset PB5 to input
- setPinInput(B5);
- writePinHigh(B5);
+ gpio_set_pin_input(B5);
+ gpio_write_pin_high(B5);
#else
// If we're not using the audio pin, drive it low
- setPinOutput(C6);
- writePinLow(C6);
+ gpio_set_pin_output(C6);
+ gpio_write_pin_low(C6);
#endif
}