More sensible cjson realloc strategy.

This commit is contained in:
Bernd Meyer 2015-07-29 18:49:18 +10:00 committed by Johny Mattsson
parent 719abca418
commit 595509a7f3
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -68,4 +68,6 @@
#define LED_LOW_COUNT_DEFAULT 0
#endif
#define STRBUF_DEFAULT_INCREMENT 32
#endif /* __USER_CONFIG_H__ */