mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
First stab at ESP32-C6 support for TLora-C6
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user