Skip to content
Snippets Groups Projects
Commit 325e507f authored by Peter Kietzmann's avatar Peter Kietzmann Committed by GitHub
Browse files

Merge pull request #5605 from MichelRottleuthner/dht22fix

drivers/dht: fix fake parsing error with DHT22
parents f31a70de 822007fa
No related branches found
No related tags found
No related merge requests found
...@@ -152,6 +152,7 @@ int dht_read(dht_t *dev, int16_t *temp, int16_t *hum) ...@@ -152,6 +152,7 @@ int dht_read(dht_t *dev, int16_t *temp, int16_t *hum)
else { else {
*temp = (int16_t)raw_temp; *temp = (int16_t)raw_temp;
} }
break;
default: default:
return -2; return -2;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment