markruys / arduino-DHT

Efficient DHT library for Arduino
Other
162 stars 119 forks source link

Added explicit variable initialization #5

Closed alext-mkrs closed 8 years ago

alext-mkrs commented 8 years ago

While "humidity" and "temperature" ones are rather "just in case", having "data" not initialized leads to garbage being returned, at least on my Arduino/Genuino 101.