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()
67
67
shell_init(shell_reader, shell_writer, 0);
68
68
69
69
// 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") );
72
72
}
73
73
74
74
void loop()
@@ -224,8 +224,8 @@ void setup()
224
224
shell_init(shell_reader, shell_writer, 0);
225
225
226
226
// 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") );
229
229
}
230
230
231
231
void loop()
You can’t perform that action at this time.
0 commit comments