Skip to content

Commit

Permalink
[Silabs] Fix typo for light-switch-app (#32645)
Browse files Browse the repository at this point in the history
* Update ShellCommands.h

* Update ShellCommands.cpp

* Update LightSwitchMgr.cpp
  • Loading branch information
lboue authored and pull[bot] committed Apr 19, 2024
1 parent 545025f commit 4209625
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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

0 comments on commit 4209625

Please sign in to comment.