things4u / ESP-1ch-Gateway

Version 6 of the single channel gateway
MIT License
358 stars 143 forks source link

Bug, when reading config file #37

Closed joerg555 closed 2 years ago

joerg555 commented 4 years ago

Hello, when you read config file, your do initConfig(c) on every line, so you overwrite all variables. To find the bug, i optimize "id_print(id, val)".

After the fix, you have the old configuration after reboot / reset

Regards Jörg

joerg555 commented 2 years ago

OK