Added a define for debuging usage
This commit is contained in:
parent
6feec2b706
commit
1d40f91885
|
@ -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
|
||||
//#############################
|
||||
|
|
Loading…
Reference in New Issue