Remove old debugging printlns from weather page
All checks were successful
Compile / Compile (push) Successful in 1m25s

This commit is contained in:
leblane 2023-06-16 17:00:15 +03:00
parent 39a2432410
commit a2f7d1748a

View file

@ -279,8 +279,6 @@ void WatchFacePages::Weather::Resync()
// Grr. wttr.in does a redirect to HTTPS if your agent isn't curl
client.setUserAgent("curl/8.0.1");
Serial.println(url.str().c_str());
client.begin(url.str().c_str());
int httpCode = client.GET();
m_features.wifi.Disconnect();
@ -313,7 +311,6 @@ void WatchFacePages::Weather::Resync()
m_currentWeatherCondition[parts[0].length()] = '\0';
std::string temperature = parts[1].substr(1, parts[1].length() - 4);
Serial.println(temperature.c_str());
m_currentTemperature = std::stoi(temperature);
std::string humidity = parts[2].substr(0, parts[2].length() - 1);