IO firmware: Convert magic numbers to defines

This is necessary to allow more and better unit testing.
This commit is contained in:
Lorenz Meier
2017-01-03 20:32:33 -05:00
committed by Daniel Agar
parent e395c1f3d7
commit d401252c9e
5 changed files with 55 additions and 7 deletions
+1 -1
View File
@@ -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