Enable debug logs for >0

This commit is contained in:
Conor Patrick 2019-04-14 15:13:39 -04:00
parent 7e490f17fc
commit 74cbe00e3b

View File

@ -27,7 +27,7 @@ void _putchar(char c)
int _write (int fd, const void *buf, unsigned long int len) int _write (int fd, const void *buf, unsigned long int len)
{ {
uint8_t * data = (uint8_t *) buf; uint8_t * data = (uint8_t *) buf;
#if DEBUG_LEVEL>1 #if DEBUG_LEVEL>0
// static uint8_t logbuf[1000] = {0}; // static uint8_t logbuf[1000] = {0};
// static int logbuflen = 0; // static int logbuflen = 0;
// if (logbuflen + len > sizeof(logbuf)) { // if (logbuflen + len > sizeof(logbuf)) {