Commit 595509a7 authored by Bernd Meyer's avatar Bernd Meyer Committed by Johny Mattsson
Browse files

More sensible cjson realloc strategy.

parent 719abca4
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "c_stdlib.h" #include "c_stdlib.h"
#include "c_stdarg.h" #include "c_stdarg.h"
#include "user_config.h"
/* Size: Total bytes allocated to *buf /* Size: Total bytes allocated to *buf
* Length: String length, excluding optional NULL terminator. * Length: String length, excluding optional NULL terminator.
......
...@@ -68,4 +68,6 @@ ...@@ -68,4 +68,6 @@
#define LED_LOW_COUNT_DEFAULT 0 #define LED_LOW_COUNT_DEFAULT 0
#endif #endif
#define STRBUF_DEFAULT_INCREMENT 32
#endif /* __USER_CONFIG_H__ */ #endif /* __USER_CONFIG_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment