First stab at ESP32-C6 support for TLora-C6

This commit is contained in:
Thomas Göttgens
2024-09-12 22:42:10 +02:00
parent 85d722232e
commit 6ffdc9875b
19 changed files with 150 additions and 40 deletions

View File

@@ -184,7 +184,7 @@ bool JSON::ExtractString(const char **data, std::string &str)
// End of the string?
else if (next_char == '"') {
(*data)++;
str.reserve(); // Remove unused capacity
str.shrink_to_fit(); // Remove unused capacity
return true;
}