Skip to content

Commit

Permalink
Merge pull request #159 from Rotzbua/patch-1
Browse files Browse the repository at this point in the history
Fix compiler warning unused parameter...
  • Loading branch information
ladyada authored May 21, 2020
2 parents 4f841c6 + a7157aa commit 8de033b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DHT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* number of sensors
*/
DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {
(void)count; // Workaround to avoid compiler warning.
_pin = pin;
_type = type;
#ifdef __AVR
Expand Down

0 comments on commit 8de033b

Please sign in to comment.