Skip to content

Commit a100af5

Browse files
committed
Merge branch 'yuboxnode-espasyncwebserver-master' into yuboxfixes
2 parents a92ee3e + 2f78426 commit a100af5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/AsyncJson.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
#if ARDUINOJSON_VERSION_MAJOR == 5
4242
#define ARDUINOJSON_5_COMPATIBILITY
4343
#else
44-
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
44+
#ifndef DYNAMIC_JSON_DOCUMENT_SIZE
45+
#define DYNAMIC_JSON_DOCUMENT_SIZE 1024
46+
#endif
4547
#endif
4648

4749
constexpr const char* JSON_MIMETYPE = "application/json";

0 commit comments

Comments
 (0)