Skip to content

Commit 051234d

Browse files
committed
Merge branch 'yuboxfixes' into yuboxfixes-0xFEEDC0DE64-cleanup
2 parents e0ce25c + a100af5 commit 051234d

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)