mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Merge pull request #159 from Rotzbua/patch-1
Fix compiler warning unused parameter...
This commit is contained in:
commit
8de033bae1
1
DHT.cpp
1
DHT.cpp
@ -40,6 +40,7 @@
|
|||||||
* number of sensors
|
* number of sensors
|
||||||
*/
|
*/
|
||||||
DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {
|
DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {
|
||||||
|
(void)count; // Workaround to avoid compiler warning.
|
||||||
_pin = pin;
|
_pin = pin;
|
||||||
_type = type;
|
_type = type;
|
||||||
#ifdef __AVR
|
#ifdef __AVR
|
||||||
|
Loading…
Reference in New Issue
Block a user