This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Description
The manipulation of bitidx in Adafruit_DHT will eventually cause a segfault. If readDHT is called repeatedly, this line:
bits[bitidx++] = counter;
...will eventually increment bitidx beyond the end of the bits array.
This code (and the bits array) appear to be unused except for debugging and can be safely removed.