mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-07-19 18:07:24 +00:00
* added unit tests for ConfigSerializer
This commit is contained in:
@@ -111,7 +111,7 @@ bool ConfigSerializer::loadSerial(Stream& s) {
|
||||
if (sp < CONFIG_MAX_DEPTH - 1) {
|
||||
sp++;
|
||||
} else {
|
||||
Serial.printf("Error: max nesting reached"); // TODO: debug logging
|
||||
//Serial.printf("Error: max nesting reached"); // TODO: debug logging
|
||||
context.success = false;
|
||||
break;
|
||||
}
|
||||
@@ -119,7 +119,7 @@ bool ConfigSerializer::loadSerial(Stream& s) {
|
||||
if (sp > 0) {
|
||||
sp--;
|
||||
} else {
|
||||
Serial.printf("Error: too many closing '}'"); // TODO: debug logging
|
||||
//Serial.printf("Error: too many closing '}'"); // TODO: debug logging
|
||||
context.success = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user