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
|
||||
#define ARDUINOJSON_5_COMPATIBILITY
|
||||
#else
|
||||
#ifndef DYNAMIC_JSON_DOCUMENT_SIZE
|
||||
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
|
||||
#endif
|
||||
#endif
|
||||
|
||||
constexpr const char* JSON_MIMETYPE = "application/json";
|
||||
|
|
Loading…
Reference in New Issue