mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Move #ifdef to after header include (#2417)
defines.h needs to be included first. Fixes esphome/issues#2490.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "nextion.h"
|
||||
|
||||
#ifdef USE_NEXTION_TFT_UPLOAD
|
||||
|
||||
#include "nextion.h"
|
||||
#include "esphome/core/application.h"
|
||||
#include "esphome/core/macros.h"
|
||||
#include "esphome/core/util.h"
|
||||
|
||||
Reference in New Issue
Block a user