Avoid Arduino.h when all its features are disabled (fixes #1692)

This commit is contained in:
Paulo Cabral Sanz
2021-12-26 18:19:35 +01:00
committed by Benoit Blanchon
parent ada1f2a894
commit ec7ffa20f2
10 changed files with 34 additions and 2 deletions

View File

@@ -116,8 +116,6 @@
#ifdef ARDUINO
# include <Arduino.h>
// Enable support for Arduino's String class
# ifndef ARDUINOJSON_ENABLE_ARDUINO_STRING
# define ARDUINOJSON_ENABLE_ARDUINO_STRING 1