mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Move #ifdef to after header include (#2417)
defines.h needs to be included first. Fixes esphome/issues#2490.
This commit is contained in:
parent
505d1d78fb
commit
4f5e4f3b86
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue