Skip to content

Commit

Permalink
ESP32: Fix PluginBasicResetToFactoryDefaultsCallback to call the corr…
Browse files Browse the repository at this point in the history
…ect API (#3650)
  • Loading branch information
dhrishi authored and pull[bot] committed Nov 26, 2020
1 parent b47f9d1 commit 2541488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void DeviceCallbacks::PluginBasicResetToFactoryDefaultsCallback(uint8_t endpoint

VerifyOrExit(endpointId == 1, ESP_LOGE(TAG, "Unexpected EndPoint ID: `0x%02x'", endpointId));

ConnectivityMgr().ClearWiFiStationProvision();
ConfigurationMgr().InitiateFactoryReset();

exit:
return;
Expand Down

0 comments on commit 2541488

Please sign in to comment.