From 7e5c368cb956b0362416f4f3c31fbd152c74237e Mon Sep 17 00:00:00 2001 From: domonetic Date: Tue, 17 Nov 2015 10:38:48 -0300 Subject: [PATCH] Updated API Reference (markdown) --- API-Reference.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/API-Reference.md b/API-Reference.md index a9d6e37..ad580af 100644 --- a/API-Reference.md +++ b/API-Reference.md @@ -277,8 +277,9 @@ Returns a reference to the new JsonArray or JsonArray::invalid() if the allocati StaticJsonBuffer<200> jsonBuffer; ``` -**Returns the size (in bytes) of an object with n elements.** -**Can be very handy to determine the size of a StaticJsonBuffer.** +**Dinamic size.** +_Returns the size (in bytes) of an object with n elements._ +_Can be very handy to determine the size of a StaticJsonBuffer._ ```c++ struct SensorData { @@ -287,7 +288,7 @@ struct SensorData { float value; }; -#define SENSORDATA_JSON_SIZE (**JSON_OBJECT_SIZE(3)**) +#define SENSORDATA_JSON_SIZE (JSON_OBJECT_SIZE(3)) ```