#include "debug.h" u8 _DEBUG = 0; void DEBUG(){ _DEBUG = !_DEBUG; printf("DEBUG IS: %s",(_DEBUG ? "ON" : "OFF")); } void DEBUG_PRINTF(const char *fmt, ...) { if(_DEBUG){ va_list args; va_start(args, fmt); vprintf(fmt, args); va_end(args); } } void SDRAM_USED(){ }