Beat the px4io driver into compilable shape. Just missing RC input configuration now.

This commit is contained in:
px4dev
2013-01-15 23:01:04 -08:00
parent 646b926ac9
commit 7b367c3eb3
2 changed files with 326 additions and 276 deletions
File diff suppressed because it is too large Load Diff
+6
View File
@@ -274,6 +274,12 @@ mixer_callback(uintptr_t handle,
return 0;
}
/*
* XXX error handling here should be more aggressive; currently it is
* possible to get STATUS_FLAGS_MIXER_OK set even though the mixer has
* not loaded faithfully.
*/
static char mixer_text[256]; /* large enough for one mixer */
static unsigned mixer_text_length = 0;