Skip to content

Commit

Permalink
Fix the CI failure in lit-icd app
Browse files Browse the repository at this point in the history
  • Loading branch information
shripad621git committed May 31, 2024
1 parent c1830cd commit 4c04d79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/ESP32/ConfigurationManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,14 @@ void ConfigurationManagerImpl::DoFactoryReset(intptr_t arg)
ChipLogError(DeviceLayer, "Failed to unregister IP event handler");
}

#if CHIP_DEVICE_CONFIG_ENABLE_WIFI
err =
ESP32Utils::MapError(esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, PlatformManagerImpl::HandleESPSystemEvent));
if (err != CHIP_NO_ERROR)
{
ChipLogError(DeviceLayer, "Failed to unregister wifi event handler");
}
#endif // CHIP_DEVICE_CONFIG_ENABLE_WIFI

ChipLogProgress(DeviceLayer, "Performing factory reset");

Expand Down

0 comments on commit 4c04d79

Please sign in to comment.