dreed47 / WifiMQTTManager

ESP32/ESP8266 library for managing your IoT devices.
GNU General Public License v3.0
82 stars 33 forks source link

Reset by reset button with long press #3

Open nonix opened 5 years ago

nonix commented 5 years ago

Hi, this is a rather a question or a change request not a bug. In _checkButton you do differ between "short" and "long" press. However it seems both are doing the same. I though of to format SPIFS only when long press is detected otherwise just reboot. Regs, N.