File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/serial/command_handlers Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99
1010const char * const TAG = " Serial::CommandHandlers::Domain" ;
1111
12- static void handeGet (std::string_view arg, bool isAutomated)
12+ static void handleGet (std::string_view arg, bool isAutomated)
1313{
1414 if (!arg.empty ()) {
1515 SERPR_ERROR (" Get command does not support parameters" );
@@ -40,7 +40,7 @@ OpenShock::Serial::CommandGroup OpenShock::Serial::CommandHandlers::HostnameHand
4040{
4141 auto group = OpenShock::Serial::CommandGroup (" hostname" sv);
4242
43- auto & getCommand = group.addCommand (" Get the network hostname." sv, handeGet );
43+ auto & getCommand = group.addCommand (" Get the network hostname." sv, handleGet );
4444
4545 auto & setCommand = group.addCommand (" set" sv, " Set the network hostname." sv, handleSet);
4646 setCommand.addArgument (" hostname" sv, " must be a string" sv, " OpenShock" sv);
Original file line number Diff line number Diff line change 33
44#include " config/Config.h"
55
6+ #include < esp_system.h>
7+
68static void handleGet (std::string_view arg, bool isAutomated)
79{
810 if (!arg.empty ()) {
Original file line number Diff line number Diff line change 33
44#include < esp_system.h>
55
6- #include < esp_system.h>
7-
86static void handleRestart (std::string_view arg, bool isAutomated)
97{
108 (void )arg;
You can’t perform that action at this time.
0 commit comments