mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:03:34 +08:00
IO firmware: Convert magic numbers to defines
This is necessary to allow more and better unit testing.
This commit is contained in:
committed by
Daniel Agar
parent
e395c1f3d7
commit
d401252c9e
@@ -465,7 +465,7 @@ mixer_callback(uintptr_t handle,
|
||||
* not loaded faithfully.
|
||||
*/
|
||||
|
||||
static char mixer_text[200]; /* large enough for one mixer */
|
||||
static char mixer_text[PX4IO_MAX_MIXER_LENGHT]; /* large enough for one mixer */
|
||||
static unsigned mixer_text_length = 0;
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user