increase identifier array sizes

#409
This commit is contained in:
Florian committed 2019-06-21 22:34:25 +02:00
1 parent bc847684f9
commit 6996867e53
1 file changed
+1 -1
+1 -1
View File
@@ -384,7 +384,7 @@ void createDiscovery(char * sensor_type,
if (child_device){
const int JSON_MSG_CALC_BUFFER = JSON_OBJECT_SIZE(5) + JSON_ARRAY_SIZE(1);
const int JSON_MSG_CALC_BUFFER = JSON_OBJECT_SIZE(5) + JSON_ARRAY_SIZE(2);
StaticJsonBuffer<JSON_MSG_CALC_BUFFER> jsonDeviceBuffer;
JsonObject &device = jsonDeviceBuffer.createObject();
device.set("name", Gateway_Name);