Disabled alignment on AVR (fixes #1231)

This commit is contained in:
Benoit Blanchon
2020-04-08 10:16:05 +02:00
parent 1791dccbf2
commit 67e78f0751
7 changed files with 131 additions and 11 deletions

View File

@@ -203,6 +203,14 @@
#endif
#endif
#ifndef ARDUINOJSON_ENABLE_ALIGNMENT
#if defined(__AVR)
#define ARDUINOJSON_ENABLE_ALIGNMENT 0
#else
#define ARDUINOJSON_ENABLE_ALIGNMENT 1
#endif
#endif
#ifndef ARDUINOJSON_TAB
#define ARDUINOJSON_TAB " "
#endif