Remove the need for rom includes while providing IDF v5 compatibility
This commit is contained in:
parent
44342b653f
commit
b64d5745db
3 changed files with 24 additions and 2 deletions
|
@ -263,7 +263,11 @@ void TFT_bitmap_display(void)
|
|||
void FT81x_init(void)
|
||||
{
|
||||
#if EVE_USE_PDN
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
|
||||
esp_rom_gpio_pad_select_gpio(EVE_PDN);
|
||||
#else
|
||||
gpio_pad_select_gpio(EVE_PDN);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
gpio_set_level(EVE_CS, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue