diff --git a/uart.h b/uart.h index dfa0cc4..70e6231 100644 --- a/uart.h +++ b/uart.h @@ -3,9 +3,9 @@ // Define DEBUG_UART_ENABLED to enable debug messages #ifdef DEBUG_UART_ENABLED -#define DEBUG(message) UART_println(message) +#define DEBUG(...) UART_println(__VA_ARGS__) #else -#define DEBUG(message) ((void)0) // Define as no operation (NOP) +#define DEBUG(...) ((void)0) // Define as no operation (NOP) #endif #include