Use DynamicJsonBuffer instead of arbitrary sized StaticJsonBuffer

This commit is contained in:
Benoit Blanchon committed 2014-12-20 15:42:43 +01:00
1 parent d855b0f98c
commit aef7e43c48
16 files changed
+228 -228

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ class Issue34 : public testing::Test {
protected:
template <typename T>
void test_with_value(T expected) {
StaticJsonBuffer<200> jsonBuffer;
StaticJsonBuffer<JSON_OBJECT_SIZE(1)> jsonBuffer;
JsonObject& jsonObject = jsonBuffer.createObject();