Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/log_color/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@

#include "log.h"

#define format "Logging value '%d' and string '%s'\n"

int main(void)
{
const uint8_t value = 42;
const char *string = "test";
const char *format = "Logging value '%d' and string '%s'\n";

LOG_ERROR(format, value, string);
LOG_WARNING(format, value, string);
Expand Down