mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2025-08-01 01:44:28 +02:00
Merge pull request #159 from Rotzbua/patch-1
Fix compiler warning unused parameter...
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user