We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c978977 commit b07db5aCopy full SHA for b07db5a
DHT.cpp
@@ -235,7 +235,7 @@ boolean DHT::read(bool force) {
235
// in the very latest IDE versions):
236
// https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/wiring_pulse.c
237
uint32_t DHT::expectPulse(bool level) {
238
- uint32_t count = 0;
+ uint16_t count = 0;
239
// On AVR platforms use direct GPIO port access as it's much faster and better
240
// for catching pulses that are 10's of microseconds in length:
241
#ifdef __AVR
0 commit comments