Update GPIO API usage in keyboard code (#23361)
This commit is contained in:
parent
5426a7a129
commit
d09a06a1b3
390 changed files with 3912 additions and 3913 deletions
|
@ -317,9 +317,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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue