gpio_pad_select_gpio -> esp_rom_gpio_pad_select_gpio
This commit is contained in:
parent
735b5df0ff
commit
785b7d5c28
17 changed files with 33 additions and 33 deletions
|
@ -86,11 +86,11 @@ void st7789_init(void)
|
|||
};
|
||||
|
||||
//Initialize non-SPI GPIOs
|
||||
gpio_reset_pin(ST7789_DC);
|
||||
esp_rom_gpio_pad_select_gpio(ST7789_DC);
|
||||
gpio_set_direction(ST7789_DC, GPIO_MODE_OUTPUT);
|
||||
|
||||
#if !defined(ST7789_SOFT_RST)
|
||||
gpio_reset_pin(ST7789_RST);
|
||||
esp_rom_gpio_pad_select_gpio(ST7789_RST);
|
||||
gpio_set_direction(ST7789_RST, GPIO_MODE_OUTPUT);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue