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:
parent
fef632aa57
commit
822007fa67
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user