mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 16:49:11 +03:00
clear_snapshot_gpios
This commit is contained in:
@@ -322,6 +322,8 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) {
|
||||
return StateUpdateResult::ERROR; // don't save the settings if the GPIOs are invalid
|
||||
}
|
||||
|
||||
// clean up snapshot of the GPIOs
|
||||
EMSESP::system_.clear_snapshot_gpios();
|
||||
|
||||
// save the setting internally, for reference later
|
||||
EMSESP::system_.store_settings(settings);
|
||||
|
||||
Reference in New Issue
Block a user