1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #5605 from MichelRottleuthner/dht22fix

drivers/dht: fix fake parsing error with DHT22
This commit is contained in:
Peter Kietzmann 2016-07-05 17:51:42 +02:00 committed by GitHub
commit 325e507fef

View File

@ -152,6 +152,7 @@ int dht_read(dht_t *dev, int16_t *temp, int16_t *hum)
else {
*temp = (int16_t)raw_temp;
}
break;
default:
return -2;
}