Skip to content

Commit

Permalink
Update common.h
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs authored Aug 27, 2024
1 parent 1a5ed1e commit 04e6332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ void Convert_Readings_to_Imperial() {
bool DecodeWeather(WiFiClient& json, String Type) {
log_d("Creating JSON object");
// allocate the JsonDocument
DynamicJsonDocument doc(25 * 1024);
//StaticJsonDocument<25 * 1024> doc;
JsonDocument doc;

// Deserialize the JSON document
DeserializationError error = deserializeJson(doc, json);
// Test if parsing succeeds.
Expand Down

0 comments on commit 04e6332

Please sign in to comment.