diff --git a/src/main.cpp b/src/main.cpp index 22bfd20..a712e91 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -422,13 +422,9 @@ getNanchangWeather () // 提取温湿度数据 JsonObject results_0 = doc["lives"][0]; - sensorData.temp = results_0["temperature_float"]; sensorData.humidity = results_0["humidity_float"]; - // Serial.print ("温度: " + String (sensorData.temp) + "°C"); - // Serial.println ("湿度: " + String (sensorData.humidity) + "%"); - client.stop (); return true; } \ No newline at end of file