From ca07eff0d35283b86be15ebf8d39262a728cc0ee Mon Sep 17 00:00:00 2001 From: Mathieu Kardous <84793247+mkardous-silabs@users.noreply.github.com> Date: Wed, 27 Nov 2024 13:41:29 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: lpbeliveau-silabs <112982107+lpbeliveau-silabs@users.noreply.github.com> --- examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp | 2 +- examples/platform/silabs/wifi/icd/ApplicationSleepManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;