mirror of
https://github.com/wled/WLED.git
synced 2025-07-27 12:46:38 +00:00
Increased JSON buffer on 8266.
Minor tweaks.
This commit is contained in:
parent
5cf26af9f0
commit
1bc15a8507
@ -288,7 +288,7 @@
|
|||||||
|
|
||||||
// Size of buffer for API JSON object (increase for more segments)
|
// Size of buffer for API JSON object (increase for more segments)
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
#define JSON_BUFFER_SIZE 9216
|
#define JSON_BUFFER_SIZE 10240
|
||||||
#else
|
#else
|
||||||
#define JSON_BUFFER_SIZE 20480
|
#define JSON_BUFFER_SIZE 20480
|
||||||
#endif
|
#endif
|
||||||
|
@ -93,7 +93,7 @@ class AsyncJsonResponse: public AsyncAbstractResponse {
|
|||||||
return _contentLength;
|
return _contentLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t getSize() { return _jsonBuffer.size(); }
|
size_t getSize() { return _root.size(); }
|
||||||
|
|
||||||
size_t _fillBuffer(uint8_t *data, size_t len){
|
size_t _fillBuffer(uint8_t *data, size_t len){
|
||||||
ChunkPrint dest(data, _sentLength, len);
|
ChunkPrint dest(data, _sentLength, len);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2111031
|
#define VERSION 2111041
|
||||||
|
|
||||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||||
//#define WLED_USE_MY_CONFIG
|
//#define WLED_USE_MY_CONFIG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user