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
|
@ -76,11 +76,11 @@ void ili9488_init(void)
|
|||
};
|
||||
|
||||
//Initialize non-SPI GPIOs
|
||||
gpio_reset_pin(ILI9488_DC);
|
||||
esp_rom_gpio_pad_select_gpio(ILI9488_DC);
|
||||
gpio_set_direction(ILI9488_DC, GPIO_MODE_OUTPUT);
|
||||
|
||||
#if ILI9488_USE_RST
|
||||
gpio_reset_pin(ILI9488_RST);
|
||||
esp_rom_gpio_pad_select_gpio(ILI9488_RST);
|
||||
gpio_set_direction(ILI9488_RST, GPIO_MODE_OUTPUT);
|
||||
|
||||
//Reset the display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue