Skip to content

Commit 029ccdb

Browse files
committed
Update readme file with changes from arduino example sketch
1 parent cefa074 commit 029ccdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
7474
void 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
231231
void loop()

0 commit comments

Comments
 (0)