diff --git a/src/avr_usart.c b/src/avr_usart.c index 7a4d19a..0cdc05e 100644 --- a/src/avr_usart.c +++ b/src/avr_usart.c @@ -11,6 +11,13 @@ #include "avr_usart.h" +#if DEBUG == 1 +#define debug(data, data_len) serial0_write(data, data_len) +#else +#define debug_led(data, data_len) +#endif + + //############################# //Globals //#############################