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:
commit
325e507fef
@ -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