soc: esp32: partial code standardization

Replaces the prefixes of gpio_matrix_in and gpio_matrix_out
to unify those function calls on all supported socs.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
Glauber Maroto Ferreira 2021-10-03 19:30:02 -03:00 committed by Christopher Friedt
commit fb1632925e
5 changed files with 11 additions and 11 deletions

View file

@ -149,9 +149,9 @@ static int spi_esp32_configure_pin(gpio_pin_t pin, int pin_sig,
}
if (pin_mode == GPIO_INPUT) {
esp32_rom_gpio_matrix_in(pin, pin_sig, false);
esp_rom_gpio_matrix_in(pin, pin_sig, false);
} else {
esp32_rom_gpio_matrix_out(pin, pin_sig, false, false);
esp_rom_gpio_matrix_out(pin, pin_sig, false, false);
}
return 0;