mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-04 13:14:42 +02:00
Redefine DYNAMIC_JSON_DOCUMENT_SIZE if not defined (#922)
This commit is contained in:
committed by
GitHub
parent
f6fff3f91e
commit
2f784268f0
@@ -41,7 +41,9 @@
|
||||
#if ARDUINOJSON_VERSION_MAJOR == 5
|
||||
#define ARDUINOJSON_5_COMPATIBILITY
|
||||
#else
|
||||
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
|
||||
#ifndef DYNAMIC_JSON_DOCUMENT_SIZE
|
||||
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
|
||||
#endif
|
||||
#endif
|
||||
|
||||
constexpr const char* JSON_MIMETYPE = "application/json";
|
||||
|
Reference in New Issue
Block a user