delete px4_includes.h header and update boards/ to use syslog

This commit is contained in:
Daniel Agar
2019-01-22 11:23:29 -05:00
parent 376e078c24
commit 2ffb49b734
86 changed files with 190 additions and 563 deletions
+4 -2
View File
@@ -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;
}
}
+2
View File
@@ -1,6 +1,8 @@
#include <unit_test.h>
#include <px4_defines.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>