Fix compiler warning unused parameter...

...'count' [-Wunused-parameter]
This commit is contained in:
Rotzbua 2020-05-21 06:19:11 +02:00 committed by GitHub
parent 6a843cb8aa
commit 44a80e01e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@
* @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*/) {
_pin = pin; _pin = pin;
_type = type; _type = type;
#ifdef __AVR #ifdef __AVR