未验证 提交 c9e69357 编写于 作者: K Krzysztof Wicher 提交者: GitHub

Update DhtBase.cs (#1115)

上级 9dd1daa6
......@@ -65,7 +65,7 @@ namespace Iot.Device.DHTxx
get
{
ReadData();
return IsLastReadSuccessful ? GetTemperature(_readBuff) : Temperature.FromDegreesCelsius(double.NaN);
return IsLastReadSuccessful ? GetTemperature(_readBuff) : default(Temperature);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册