mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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:
parent
f7835a8677
commit
05ceeec1ba
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user