--- a/components/tft/tftspi.c Sat Nov 03 21:14:59 2018 +0100 +++ b/components/tft/tftspi.c Wed May 01 21:27:28 2019 +0200 @@ -11,6 +11,7 @@ #include <string.h> #include "tftspi.h" #include "esp_system.h" +#include "driver/gpio.h" #include "freertos/task.h" #include "esp_heap_caps.h" #include "soc/spi_reg.h"