Issue: When configuration has been saved to flash and esp32 reboot, it will read flash configuration and when it connects to the WiFi station it will save the configuration to flash again even though there have been no Changes.
Proposed solution: This commit add a check if the content of the flash is identical to the current configuration. In such case, it will skip Writing to the flash.
There are other ways of solving the issue, so it is up to you what to do.
Issue: When configuration has been saved to flash and esp32 reboot, it will read flash configuration and when it connects to the WiFi station it will save the configuration to flash again even though there have been no Changes.
Proposed solution: This commit add a check if the content of the flash is identical to the current configuration. In such case, it will skip Writing to the flash.
There are other ways of solving the issue, so it is up to you what to do.