Skip to content

Commit

Permalink
fix println
Browse files Browse the repository at this point in the history
  • Loading branch information
RecursiveError committed Mar 20, 2023
1 parent c3cbc04 commit 02d9844
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/omnicrystal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ Omnicrystal& Omnicrystal::begin(){
}

size_t Omnicrystal::write(uint8_t data){
if((data == '\n') || (data == '\r')){
return 0;
}
send(data, 1);
return 1;
}
Expand Down

0 comments on commit 02d9844

Please sign in to comment.