mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 16:37:34 +08:00
delete px4_includes.h header and update boards/ to use syslog
This commit is contained in:
@@ -38,8 +38,10 @@
|
||||
*/
|
||||
|
||||
#include <dirent.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
#include <mixer/mixer.h>
|
||||
@@ -397,13 +399,13 @@ bool MixerTest::mixerTest()
|
||||
|
||||
if (i != actuator_controls_s::INDEX_THROTTLE) {
|
||||
if (r_page_servos[i] < r_page_servo_control_min[i]) {
|
||||
warnx("active servo < min");
|
||||
PX4_ERR("active servo < min");
|
||||
return false;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (r_page_servos[i] != r_page_servo_disarmed[i]) {
|
||||
warnx("throttle output != 0 (this check assumed the IO pass mixer!)");
|
||||
PX4_ERR("throttle output != 0 (this check assumed the IO pass mixer!)");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#include <unit_test.h>
|
||||
|
||||
#include <px4_defines.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user