LV_DISP_USE_RST
Allows to not allocate a GPIO for display reset: some may have that pin tied or attached to a Power management IC. Supersedes PR from @usedbytes doing same but only for IL9341, this is for all supported displays.
This commit is contained in:
parent
147cacc0af
commit
7b571a7fc7
29 changed files with 136 additions and 35 deletions
|
@ -262,9 +262,15 @@ void TFT_bitmap_display(void)
|
|||
|
||||
void FT81x_init(void)
|
||||
{
|
||||
#if EVE_USE_PDN
|
||||
gpio_pad_select_gpio(EVE_PDN);
|
||||
#endif
|
||||
|
||||
gpio_set_level(EVE_CS, 1);
|
||||
|
||||
#if EVE_USE_PDN
|
||||
gpio_set_direction(EVE_PDN, GPIO_MODE_OUTPUT);
|
||||
#endif
|
||||
|
||||
spi_acquire();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue