Skip to content

Commit

Permalink
[Ameba] Reboot after factory reset (#25760)
Browse files Browse the repository at this point in the history
* reboot after factoryreset

* restyle
  • Loading branch information
pankore authored and pull[bot] committed Sep 22, 2023
1 parent 5aafb15 commit 4704643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/Ameba/ConfigurationManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <platform/internal/GenericConfigurationManagerImpl.ipp>
#include <support/CodeUtils.h>
#include <support/logging/CHIPLogging.h>
#include <sys_api.h>
#include <wifi_conf.h>

namespace chip {
Expand Down Expand Up @@ -274,7 +275,7 @@ void ConfigurationManagerImpl::DoFactoryReset(intptr_t arg)

// Restart the system.
ChipLogProgress(DeviceLayer, "System restarting");
// sys_reset();
sys_reset();
}

ConfigurationManager & ConfigurationMgrImpl()
Expand Down

0 comments on commit 4704643

Please sign in to comment.