aboutsummaryrefslogtreecommitdiff
path: root/keyboards/jukaie/jk01/jk01.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jukaie/jk01/jk01.c')
-rw-r--r--keyboards/jukaie/jk01/jk01.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/jukaie/jk01/jk01.c b/keyboards/jukaie/jk01/jk01.c
index 913e77a55e..3c6daabf02 100644
--- a/keyboards/jukaie/jk01/jk01.c
+++ b/keyboards/jukaie/jk01/jk01.c
@@ -132,9 +132,9 @@ void spi_init(void) {
is_initialised = true;
// Try releasing special pins for a short time
- setPinInput(SPI_SCK_PIN);
- setPinInput(SPI_MOSI_PIN);
- setPinInput(SPI_MISO_PIN);
+ gpio_set_pin_input(SPI_SCK_PIN);
+ gpio_set_pin_input(SPI_MOSI_PIN);
+ gpio_set_pin_input(SPI_MISO_PIN);
chThdSleepMilliseconds(10);
@@ -147,12 +147,12 @@ void spi_init(void) {
#endif
void keyboard_pre_init_kb(void) {
- setPinOutput(C0);
- setPinOutput(C15);
+ gpio_set_pin_output(C0);
+ gpio_set_pin_output(C15);
keyboard_pre_init_user();
};
void housekeeping_task_kb(void) {
- writePin(C15, keymap_config.no_gui);
+ gpio_write_pin(C15, keymap_config.no_gui);
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {