mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 10:50:19 +08:00
IO Firmware: Reduce unnecessary buffer space
This commit is contained in:
committed by
Andreas Antener
parent
b54a0308a7
commit
f2af8a5a5d
@@ -418,7 +418,7 @@ mixer_callback(uintptr_t handle,
|
||||
* not loaded faithfully.
|
||||
*/
|
||||
|
||||
static char mixer_text[256]; /* large enough for one mixer */
|
||||
static char mixer_text[200]; /* large enough for one mixer */
|
||||
static unsigned mixer_text_length = 0;
|
||||
|
||||
int
|
||||
|
||||
@@ -82,7 +82,7 @@ static volatile uint8_t msg_next_out, msg_next_in;
|
||||
* for mixer handling. Do not allocate more than 80 bytes for
|
||||
* output.
|
||||
*/
|
||||
#define NUM_MSG 2
|
||||
#define NUM_MSG 1
|
||||
static char msg[NUM_MSG][40];
|
||||
|
||||
static void heartbeat_blink(void);
|
||||
|
||||
Reference in New Issue
Block a user