Skip to content

Commit 8de033b

Browse files
authored
Merge pull request #159 from Rotzbua/patch-1
Fix compiler warning unused parameter...
2 parents 4f841c6 + a7157aa commit 8de033b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DHT.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
* number of sensors
4141
*/
4242
DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {
43+
(void)count; // Workaround to avoid compiler warning.
4344
_pin = pin;
4445
_type = type;
4546
#ifdef __AVR

0 commit comments

Comments
 (0)