Skip to content

Commit

Permalink
Fix namespace usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhavrohit924 committed Aug 7, 2024
1 parent 8114d8d commit efd2e07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ OTAImageProcessorImpl gImageProcessor;
#endif

chip::app::Clusters::TemperatureControl::AppSupportedTemperatureLevelsDelegate sAppSupportedTemperatureLevelsDelegate;
app::Clusters::ModeSelect::StaticSupportedModesManager sStaticSupportedModesManager;
chip::app::Clusters::ModeSelect::StaticSupportedModesManager sStaticSupportedModesManager;
} // namespace

using namespace ::chip;
Expand Down Expand Up @@ -143,7 +143,7 @@ static void InitServer(intptr_t context)
GetAppTask().InitOTARequestor();
#endif
chip::app::Clusters::TemperatureControl::SetInstance(&sAppSupportedTemperatureLevelsDelegate);
app::Clusters::ModeSelect::setSupportedModesManager(&sStaticSupportedModesManager);
chip::app::Clusters::ModeSelect::setSupportedModesManager(&sStaticSupportedModesManager);
}

CHIP_ERROR AppTask::StartAppTask()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ StaticQueue_t sAppEventQueueStruct;

StackType_t appStack[APP_TASK_STACK_SIZE / sizeof(StackType_t)];
StaticTask_t appTaskStruct;
app::Clusters::ModeSelect::StaticSupportedModesManager sStaticSupportedModesManager;
chip::app::Clusters::ModeSelect::StaticSupportedModesManager sStaticSupportedModesManager;

#if CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR
DefaultOTARequestor gRequestorCore;
Expand Down Expand Up @@ -140,7 +140,7 @@ static void InitServer(intptr_t context)
#if CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR
GetAppTask().InitOTARequestor();
#endif
app::Clusters::ModeSelect::setSupportedModesManager(&sStaticSupportedModesManager);
chip::app::Clusters::ModeSelect::setSupportedModesManager(&sStaticSupportedModesManager);
}

CHIP_ERROR AppTask::StartAppTask()
Expand Down

0 comments on commit efd2e07

Please sign in to comment.