File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ void setup()
6767 shell_init(shell_reader, shell_writer, 0);
6868
6969 // Add commands to the shell
70- shell_register(command_mycommand, "mycommand");
71- shell_register(command_othercommand, "othercommand");
70+ shell_register(command_mycommand, PSTR( "mycommand") );
71+ shell_register(command_othercommand, PSTR( "othercommand") );
7272}
7373
7474void loop()
@@ -224,8 +224,8 @@ void setup()
224224 shell_init(shell_reader, shell_writer, 0);
225225
226226 // Add commands to the shell
227- shell_register(command_mycommand, "mycommand");
228- shell_register(command_othercommand, "othercommand");
227+ shell_register(command_mycommand, PSTR( "mycommand") );
228+ shell_register(command_othercommand, PSTR( "othercommand") );
229229}
230230
231231void loop()
You can’t perform that action at this time.
0 commit comments