Skip to content

Commit

Permalink
Enable debug logs for >0
Browse files Browse the repository at this point in the history
  • Loading branch information
conorpp committed Apr 14, 2019
1 parent 7e490f1 commit 74cbe00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/stm32l432/src/redirect.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void _putchar(char c)
int _write (int fd, const void *buf, unsigned long int len)
{
uint8_t * data = (uint8_t *) buf;
#if DEBUG_LEVEL>1
#if DEBUG_LEVEL>0
// static uint8_t logbuf[1000] = {0};
// static int logbuflen = 0;
// if (logbuflen + len > sizeof(logbuf)) {
Expand Down

0 comments on commit 74cbe00

Please sign in to comment.