FT81x: Replace gpio_pad_select_gpio with esp_rom alias

This commit is contained in:
C47D 2022-01-12 17:58:01 -06:00
parent 71451c1cb6
commit 8c7bc42140

View file

@ -2,6 +2,7 @@
#include <stdio.h>
#include "driver/gpio.h"
#include "esp_rom/include/esp_rom_gpio.h"
#include "FT81x.h"
@ -263,7 +264,7 @@ void TFT_bitmap_display(void)
void FT81x_init(void)
{
#if EVE_USE_PDN
gpio_pad_select_gpio(EVE_PDN);
esp_rom_gpio_pad_select_gpio(EVE_PDN);
#endif
gpio_set_level(EVE_CS, 1);