Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomona committed Jul 4, 2023
1 parent 9628859 commit f80a015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/logging/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ namespace SlimeVR

Serial.printf("[%-5s] [%s] %s\n", levelToString(level), buf, buffer);

if (getRemoteCmdConncted()) {
if (getRemoteCmdConncted())
{
getRemoteCmdStream().printf("[%-5s] [%s] %s\n", levelToString(level), buf, buffer);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/logging/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ namespace SlimeVR

Serial.println();

if (getRemoteCmdConncted()) {
if (getRemoteCmdConncted())
{
Stream & networkStream = getRemoteCmdStream();
networkStream.printf("[%-5s] [%s] %s", levelToString(level), buf, str);

Expand Down

0 comments on commit f80a015

Please sign in to comment.