Added a define for debuging usage

This commit is contained in:
Jake Goodwin 2023-02-24 14:27:14 -08:00
parent 6feec2b706
commit 1d40f91885
1 changed files with 7 additions and 0 deletions

View File

@ -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
//#############################