Skip to content

Commit

Permalink
Added carriage return on SDK examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Mar 7, 2024
1 parent e1c1fab commit 4796fbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/sdk/delay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ i32 main() {
for(i32 i = 0; i < 10; i++) {
IO::print(F("Hello! ["));
IO::print((i64) Sys::millis());
IO::print(F("]\n"));
IO::print(F("]\r\n"));

Sys::delay(1000);
}
Expand Down
2 changes: 1 addition & 1 deletion examples/sdk/hello.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ i32 main() {
for(i8 i = 0; i < 10; i++) {
IO::print(F("Hello, world! ["));
IO::print((i64) i);
IO::print(F("]\n"));
IO::print(F("]\r\n"));

if(i == 5)
Sys::exit(0);
Expand Down
2 changes: 1 addition & 1 deletion examples/sdk/shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ i32 main() {

IO::print(F("Exit code: "));
IO::print((i64) exitcode);
IO::print(F("\n"));
IO::print(F("\r\n"));

return 0;
}

0 comments on commit 4796fbc

Please sign in to comment.