Skip to content

Commit 4209625

Browse files
lbouepull[bot]
authored andcommitted
[Silabs] Fix typo for light-switch-app (#32645)
* Update ShellCommands.h * Update ShellCommands.cpp * Update LightSwitchMgr.cpp
1 parent 545025f commit 4209625

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/light-switch-app/silabs/include/ShellCommands.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
#if defined(ENABLE_CHIP_SHELL)
2323

24-
namespace LightSwtichCommands {
24+
namespace LightSwitchCommands {
2525

2626
void RegisterSwitchCommands();
2727

28-
} // namespace LightSwtichCommands
28+
} // namespace LightSwitchCommands
2929

3030
#endif // defined(ENABLE_CHIP_SHELL)

examples/light-switch-app/silabs/src/LightSwitchMgr.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CHIP_ERROR LightSwitchMgr::Init(EndpointId lightSwitchEndpoint, chip::EndpointId
6262
}
6363

6464
#if defined(ENABLE_CHIP_SHELL)
65-
LightSwtichCommands::RegisterSwitchCommands();
65+
LightSwitchCommands::RegisterSwitchCommands();
6666
#endif // defined(ENABLE_CHIP_SHELL)
6767

6868
return error;

examples/light-switch-app/silabs/src/ShellCommands.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
using namespace chip;
3030
using namespace chip::app;
3131

32-
namespace LightSwtichCommands {
32+
namespace LightSwitchCommands {
3333

3434
using Shell::Engine;
3535
using Shell::shell_command_t;
@@ -286,6 +286,6 @@ void RegisterSwitchCommands()
286286
Engine::Root().RegisterCommands(&sSwitchCommand, 1);
287287
}
288288

289-
} // namespace LightSwtichCommands
289+
} // namespace LightSwitchCommands
290290

291291
#endif // ENABLE_CHIP_SHELL

0 commit comments

Comments
 (0)