From 2a4c907215f42769554181db0e874b49a1e7ba16 Mon Sep 17 00:00:00 2001 From: cefoot Date: Wed, 22 Mar 2023 16:07:53 +0100 Subject: [PATCH] add changes for esp-idf >= 4.1 to other display formats --- epd2in13d.cpp | 13 +++++++++++++ epd2in7.cpp | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/epd2in13d.cpp b/epd2in13d.cpp index f9806d3..e173299 100644 --- a/epd2in13d.cpp +++ b/epd2in13d.cpp @@ -28,6 +28,19 @@ # ******************************************************************************/ #include + +#include +#include +#include + +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" +#include "esp_system.h" +#include "driver/spi_master.h" +#include "soc/gpio_struct.h" +#include "driver/gpio.h" +#include "esp_log.h" + #include "epd2in13d.h" /** diff --git a/epd2in7.cpp b/epd2in7.cpp index de3f120..70f3247 100644 --- a/epd2in7.cpp +++ b/epd2in7.cpp @@ -25,6 +25,19 @@ */ #include + +#include +#include +#include + +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" +#include "esp_system.h" +#include "driver/spi_master.h" +#include "soc/gpio_struct.h" +#include "driver/gpio.h" +#include "esp_log.h" + #include "epd2in7.h" //////////////////////////////////////full screen update LUT////////////////////////////////////////////