prampec / IotWebConf

ESP8266/ESP32 non-blocking WiFi/AP web configuration Arduino library
MIT License
530 stars 140 forks source link

Unreachable code inside loadConfig() function #226

Closed hieunvce closed 2 years ago

hieunvce commented 2 years ago

File: IotWebConf.cpp Line: 173 Function: loadConfig

As I know, this code:

EEPROM.end();

is unreachable.

Is it OK? I wonder whether it cause buggy behavior?

Thank you so much! Screenshot from 2021-10-19 22-18-17

prampec commented 2 years ago

You are right. This need to be fixed ASAP.

prampec commented 2 years ago

Fixed in v3.2.1