You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling getTempCByIndex and no sensors are available on the 1-wire network (deviceCount == 0), the call to getAddress will return false. But in the code this is never checked for.
It should return DEVICE_DISCONNECTED_C message, but now I'm simply getting 0.0
When calling getTempCByIndex and no sensors are available on the 1-wire network (deviceCount == 0), the call to getAddress will return false. But in the code this is never checked for.
It should return DEVICE_DISCONNECTED_C message, but now I'm simply getting 0.0
https://github.com/milesburton/Arduino-Temperature-Control-Library/blob/master/DallasTemperature.cpp#L403
The text was updated successfully, but these errors were encountered: