Skip to content

Commit

Permalink
Reduce MGOS_DEBUG_TMP_BUF_SIZE to 128
Browse files Browse the repository at this point in the history
Reduce stack usage
  • Loading branch information
rojer committed Jun 16, 2021
1 parent f268d12 commit e65e24d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/mgos_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ extern "C" {
#define MGOS_DEBUG_UART_BAUD_RATE 115200
#endif

#define MGOS_DEBUG_TMP_BUF_SIZE 256
#ifndef MGOS_DEBUG_TMP_BUF_SIZE
#define MGOS_DEBUG_TMP_BUF_SIZE 128
#endif

/*
* Arguments for the `MGOS_EVENT_LOG` event, see `mgos_event_add_handler()`.
Expand Down

0 comments on commit e65e24d

Please sign in to comment.