mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Fix compiler warning unused parameter...
...'count' [-Wunused-parameter]
This commit is contained in:
parent
44a80e01e6
commit
a7157aa586
3
DHT.cpp
3
DHT.cpp
@ -37,7 +37,8 @@
|
|||||||
* @param count
|
* @param count
|
||||||
* 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