Enable debug logs for >0
This commit is contained in:
parent
7e490f17fc
commit
74cbe00e3b
@ -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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user