1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

[image] Fix compile time problem with host image not using lvgl (#7654)

This commit is contained in:
Clyde Stubbs
2024-10-22 14:05:39 +11:00
committed by GitHub
parent 8bb4316956
commit ff48f53989
2 changed files with 18 additions and 6 deletions

View File

@@ -3,12 +3,7 @@
#include "esphome/components/display/display.h"
#ifdef USE_LVGL
// required for clang-tidy
#ifndef LV_CONF_H
#define LV_CONF_SKIP 1 // NOLINT
#endif // LV_CONF_H
#include <lvgl.h>
#include "esphome/components/lvgl/lvgl_proxy.h"
#endif // USE_LVGL
namespace esphome {