Skip to content

Commit

Permalink
app: remove empty line from log output
Browse files Browse the repository at this point in the history
Remove tailing newline character from the log message.
Logging should not span over multiple lines as it makes
it harder to process automatically.

Signed-off-by: David Schneider <[email protected]>
  • Loading branch information
dsch authored and henrikbrixandersen committed Dec 20, 2024
1 parent cbbbc9b commit 42bbcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ int main(void)
}
}

LOG_INF("CANnectivity firmware initialized with %u channel%s\n", ARRAY_SIZE(channels),
LOG_INF("CANnectivity firmware initialized with %u channel%s", ARRAY_SIZE(channels),
ARRAY_SIZE(channels) > 1 ? "s" : "");
}

0 comments on commit 42bbcd1

Please sign in to comment.