chmorgan / libesphttpd

Libesphttpd - web server for ESP8266 / ESP32
Mozilla Public License 2.0
128 stars 45 forks source link

Fix non-ESP32 version of cgiUploadFirmware #13

Closed dkonigsberg closed 6 years ago

dkonigsberg commented 6 years ago

When splitting cgiUploadFirmware into completely separate ESP32 and non-ESP32 variants, some of the preprocessor macros were resolved incorrectly. This resulted in the ESP32 version of two small blocks of code incorrectly getting into the non-ESP32 function.

chmorgan commented 6 years ago

Thanks for the PR. I don't often build for esp8266 so I appreciate the bug fixes.