diff --git a/src/inc/testf_commands.h b/src/inc/testf_commands.h index 1c0f4fa..e99e3bc 100644 --- a/src/inc/testf_commands.h +++ b/src/inc/testf_commands.h @@ -7,14 +7,19 @@ #ifndef TESTF_COMMANDS_H #define TESTF_COMMANDS_H -#define PRINT_FUNCTION printf -#define TESTF_TAG "[TESTF-C] " +#define PRINT_FUNCTION printf +#define TESTF_TAG "[TESTF-C] " #define TESTF_COMMAND(X) PRINT_FUNCTION(TESTF_TAG X "\n") -#define COMMAND_START() PRINT_FUNCTION(TESTF_TAG "START" "\n") -#define COMMAND_END() PRINT_FUNCTION(TESTF_TAG "END" "\n") -#define COMMAND_SEND_CHAR(X) PRINT_FUNCTION(TESTF_TAG "SEND_CHAR " X "\n") +#define COMMAND_START() \ + PRINT_FUNCTION(TESTF_TAG "START" \ + "\n") +#define COMMAND_END() \ + PRINT_FUNCTION(TESTF_TAG "END" \ + "\n") + +#define COMMAND_SEND_CHAR(X) PRINT_FUNCTION(TESTF_TAG "SEND_CHAR " X "\n") #define COMMAND_SEND_TIMEOUT(X) PRINT_FUNCTION(TESTF_TAG "SET_TIMEOUT " X "\n") #endif // TESTF_COMMANDS_H