mixer: minor refactoring to reduce header include dependencies

- avoid including <px4_defines.h> from the math headers
- avoid driver include <drivers/drv_mixer.h> from the mixer
This commit is contained in:
Beat Küng
2018-12-13 09:50:07 +01:00
parent 8bcf54688a
commit c659d2bcc2
20 changed files with 60 additions and 45 deletions
+3 -1
View File
@@ -32,7 +32,7 @@
****************************************************************************/
/**
* @file mixer.c
* @file mixer.cpp
*
* Mixer utility.
*/
@@ -48,7 +48,9 @@
#include <errno.h>
#include <ctype.h>
#include <drivers/drv_mixer.h>
#include <lib/mixer/mixer.h>
#include <lib/mixer/mixer_load.h>
#include <uORB/topics/actuator_controls.h>
/**
+1
View File
@@ -44,6 +44,7 @@
#include <px4_config.h>
#include <mixer/mixer.h>
#include <mixer/mixer_load.h>
#include <pwm_limit/pwm_limit.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_pwm_output.h>