From 8cb1b3bdc254857a49fa391b5b1c76e73982c777 Mon Sep 17 00:00:00 2001 From: C47D Date: Tue, 11 Jan 2022 18:56:38 -0600 Subject: [PATCH] lvgl_helpers: Rearrange includes --- lvgl_helpers.c | 5 ++++- lvgl_helpers.h | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lvgl_helpers.c b/lvgl_helpers.c index b083134..ce3bfc1 100644 --- a/lvgl_helpers.c +++ b/lvgl_helpers.c @@ -6,8 +6,11 @@ /********************* * INCLUDES *********************/ -#include "sdkconfig.h" #include "lvgl_helpers.h" + +#include "sdkconfig.h" + +#include "driver/spi_common.h" #include "esp_log.h" #include "esp_idf_version.h" diff --git a/lvgl_helpers.h b/lvgl_helpers.h index ca73431..ce0d814 100644 --- a/lvgl_helpers.h +++ b/lvgl_helpers.h @@ -14,8 +14,6 @@ extern "C" { *********************/ #include -#include "driver/spi_common.h" - #include "lvgl_spi_conf.h" #include "lvgl_tft/disp_driver.h" #include "lvgl_tft/esp_lcd_backlight.h"