mirror of
https://github.com/esphome/esphome.git
synced 2024-11-13 02:37:47 +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
|
||||
#include <Esp.h>
|
||||
#endif
|
||||
#ifdef USE_ESP32
|
||||
#include <esp_heap_caps.h>
|
||||
#endif
|
||||
|
||||
namespace esphome {
|
||||
namespace json {
|
||||
|
|
Loading…
Reference in a new issue