scottchiefbaker / ESP-WebOTA

Simple web based Over-the-Air (OTA) updates for ESP based projects
MIT License
291 stars 40 forks source link

Initialize last value to millis() #10

Closed jamesfowkes closed 4 years ago

jamesfowkes commented 4 years ago

The last value in delay is uninitialised, meaning compile errors/warnings and undefined behaviour.

scottchiefbaker commented 4 years ago

Good catch! That was part of a merge that went a little haywire.