Redefine DYNAMIC_JSON_DOCUMENT_SIZE if not defined (#922)
This commit is contained in:
parent
f6fff3f91e
commit
2f784268f0
|
@ -41,7 +41,9 @@
|
||||||
#if ARDUINOJSON_VERSION_MAJOR == 5
|
#if ARDUINOJSON_VERSION_MAJOR == 5
|
||||||
#define ARDUINOJSON_5_COMPATIBILITY
|
#define ARDUINOJSON_5_COMPATIBILITY
|
||||||
#else
|
#else
|
||||||
|
#ifndef DYNAMIC_JSON_DOCUMENT_SIZE
|
||||||
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
|
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
constexpr const char* JSON_MIMETYPE = "application/json";
|
constexpr const char* JSON_MIMETYPE = "application/json";
|
||||||
|
|
Loading…
Reference in New Issue