diff --git a/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp b/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp index 4988088cbf..ae88c21308 100644 --- a/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp +++ b/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp @@ -90,7 +90,7 @@ bool ApplicationSleepManager::CanGoToLIBasedSleep() } else { - for (ConstFabricIterator it = mFabricTable->begin(); it != mFabricTable->end(); ++it) + for (auto it = mFabricTable->begin(); it != mFabricTable->end(); ++it) { if (!mSubscriptionsInfoProvider->FabricHasAtLeastOneActiveSubscription(it->GetFabricIndex())) { diff --git a/examples/platform/silabs/wifi/icd/ApplicationSleepManager.h b/examples/platform/silabs/wifi/icd/ApplicationSleepManager.h index 45aeafa228..800c1f980c 100644 --- a/examples/platform/silabs/wifi/icd/ApplicationSleepManager.h +++ b/examples/platform/silabs/wifi/icd/ApplicationSleepManager.h @@ -109,7 +109,7 @@ class ApplicationSleepManager : public chip::app::ReadHandler::ApplicationCallba * Wi-Fi cannot go to LI based sleep. * * @return true if the device can go to LI sleep - * @return false if the device cannot go to LI sleep + * false if the device cannot go to LI sleep */ bool CanGoToLIBasedSleep() override;