More sensible cjson realloc strategy.
This commit is contained in:
parent
719abca418
commit
595509a7f3
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "c_stdlib.h"
|
||||
#include "c_stdarg.h"
|
||||
#include "user_config.h"
|
||||
|
||||
/* Size: Total bytes allocated to *buf
|
||||
* Length: String length, excluding optional NULL terminator.
|
||||
|
|
|
@ -68,4 +68,6 @@
|
|||
#define LED_LOW_COUNT_DEFAULT 0
|
||||
#endif
|
||||
|
||||
#define STRBUF_DEFAULT_INCREMENT 32
|
||||
|
||||
#endif /* __USER_CONFIG_H__ */
|
||||
|
|
Loading…
Reference in New Issue