piofirmware:Base the debug message buffer size on the defconfig

Recover 16 bytes. Size of debug max message is 40 so limit
  the usart tx buffer to same size.
This commit is contained in:
David Sidrane 2017-05-01 12:46:38 -10:00 committed by Lorenz Meier
parent f7835a8677
commit 05ceeec1ba

View File

@ -85,7 +85,7 @@ static volatile uint8_t msg_next_out, msg_next_in;
* output.
*/
#define NUM_MSG 1
static char msg[NUM_MSG][40];
static char msg[NUM_MSG][CONFIG_USART1_TXBUFSIZE];
static void heartbeat_blink(void);
static void ring_blink(void);