Extent JSON_BUFFER_SIZE 7000
This commit is contained in:
parent
27f20a76f0
commit
6e0ae6d152
@ -29,7 +29,7 @@
|
||||
|
||||
#define DEV_MAX_MAPPING_NAME_STRLEN 63
|
||||
|
||||
#define JSON_BUFFER_SIZE 6144
|
||||
#define JSON_BUFFER_SIZE 7000
|
||||
|
||||
struct CHANNEL_CONFIG_T {
|
||||
uint16_t MaxChannelPower;
|
||||
|
||||
@ -127,7 +127,7 @@ bool ConfigurationClass::read()
|
||||
// Deserialize the JSON document
|
||||
DeserializationError error = deserializeJson(doc, f);
|
||||
if (error) {
|
||||
MessageOutput.println(F("Failed to read file, using default configuration"));
|
||||
MessageOutput.printf("Failed to read file, using default configuration. Error: %s (capacity: %d)\r\n", error.c_str(), doc.capacity());
|
||||
}
|
||||
|
||||
JsonObject cfg = doc["cfg"];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user