mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
Fix compile error for idf projects with ArduinoJson 6 (#2979)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
parent
998d4229af
commit
407661d56b
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
||||||
#ifdef USE_ESP8266
|
#ifdef USE_ESP8266
|
||||||
#include <Esp.h>
|
#include <Esp.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef USE_ESP32
|
||||||
|
#include <esp_heap_caps.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace json {
|
namespace json {
|
||||||
|
|
Loading…
Reference in a new issue