Open Anton-V-K opened 7 years ago
static uint8_t _pin, _type, _bit, _type;
Duplicate declaration of _type in dht22.h causes compile-time error:
_type
sketch\dht22.h:38:35: error: redefinition of 'uint8_t _type' static uint8_t _pin, _type, _bit, _type; ^ sketch\dht22.h:38:22: error: 'uint8_t _type' previously declared here static uint8_t _pin, _type, _bit, _type; ^
The fix: remove duplicate declaration :)
Duplicate declaration of
_type
in dht22.h causes compile-time error:The fix: remove duplicate declaration :)