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.
2 parents b3b0b08 + b07db5a commit 07da1cdCopy full SHA for 07da1cd
DHT.cpp
@@ -243,7 +243,7 @@ bool DHT::read(bool force) {
243
// in the very latest IDE versions):
244
// https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/wiring_pulse.c
245
uint32_t DHT::expectPulse(bool level) {
246
- uint32_t count = 0;
+ uint16_t count = 0;
247
// On AVR platforms use direct GPIO port access as it's much faster and better
248
// for catching pulses that are 10's of microseconds in length:
249
#ifdef __AVR
0 commit comments