Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Silabs] Fix typo for light-switch-app #32645

Merged
merged 6 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/light-switch-app/silabs/include/ShellCommands.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

#if defined(ENABLE_CHIP_SHELL)

namespace LightSwtichCommands {
namespace LightSwitchCommands {

void RegisterSwitchCommands();

} // namespace LightSwtichCommands
} // namespace LightSwitchCommands

#endif // defined(ENABLE_CHIP_SHELL)
2 changes: 1 addition & 1 deletion examples/light-switch-app/silabs/src/LightSwitchMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ CHIP_ERROR LightSwitchMgr::Init(EndpointId lightSwitchEndpoint, chip::EndpointId
}

#if defined(ENABLE_CHIP_SHELL)
LightSwtichCommands::RegisterSwitchCommands();
LightSwitchCommands::RegisterSwitchCommands();
#endif // defined(ENABLE_CHIP_SHELL)

return error;
Expand Down
4 changes: 2 additions & 2 deletions examples/light-switch-app/silabs/src/ShellCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
using namespace chip;
using namespace chip::app;

namespace LightSwtichCommands {
namespace LightSwitchCommands {

using Shell::Engine;
using Shell::shell_command_t;
Expand Down Expand Up @@ -286,6 +286,6 @@ void RegisterSwitchCommands()
Engine::Root().RegisterCommands(&sSwitchCommand, 1);
}

} // namespace LightSwtichCommands
} // namespace LightSwitchCommands

#endif // ENABLE_CHIP_SHELL
Loading