diff --git a/examples/platform/esp32/mode-support/static-supported-modes-manager.cpp b/examples/platform/esp32/mode-support/static-supported-modes-manager.cpp index 72241be2806ab5..6da87d167fadcf 100644 --- a/examples/platform/esp32/mode-support/static-supported-modes-manager.cpp +++ b/examples/platform/esp32/mode-support/static-supported-modes-manager.cpp @@ -31,13 +31,13 @@ using SemanticTag = Structs::SemanticTagStruct::Type; template using List = app::DataModel::List; -SupportedModesManager::ModeOptionsProvider *StaticSupportedModesManager::epModeOptionsProviderList = nullptr; +SupportedModesManager::ModeOptionsProvider * StaticSupportedModesManager::epModeOptionsProviderList = nullptr; const StaticSupportedModesManager StaticSupportedModesManager::instance = StaticSupportedModesManager(); void StaticSupportedModesManager::InitEndpointArray(int size) { - mSize = size; + mSize = size; epModeOptionsProviderList = new SupportedModesManager::ModeOptionsProvider[mSize]; for (int i = 0; i < mSize; i++) { diff --git a/examples/platform/esp32/mode-support/static-supported-modes-manager.h b/examples/platform/esp32/mode-support/static-supported-modes-manager.h index 7bf63ff76315a6..895955c00ec9a7 100644 --- a/examples/platform/esp32/mode-support/static-supported-modes-manager.h +++ b/examples/platform/esp32/mode-support/static-supported-modes-manager.h @@ -33,7 +33,7 @@ class StaticSupportedModesManager : public chip::app::Clusters::ModeSelect::Supp using SemanticTag = Structs::SemanticTagStruct::Type; int mSize; - static ModeOptionsProvider *epModeOptionsProviderList; + static ModeOptionsProvider * epModeOptionsProviderList; void FreeSupportedModes(EndpointId endpointId) const;