1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/dht: fix fake parsing error with DHT22

This commit is contained in:
Michel Rottleuthner 2016-07-05 15:10:49 +02:00
parent fef632aa57
commit 822007fa67

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;
}