aboutsummaryrefslogtreecommitdiff
path: root/src/examples/hwtest/hwtest.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-12-30 11:01:09 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-12-30 11:01:09 +0100
commitef065808a33d482ebea2715c4b4f0b5a936f1a73 (patch)
treeb17d739ab31f72f00611e18b8cbd055f3ff65a41 /src/examples/hwtest/hwtest.c
parentd8eefa30538331fde7e5ce79fef4e04dc62664bc (diff)
parent4942883ddcb5d1a09e96335b1edbbf2d937937b4 (diff)
downloadpx4-firmware-ef065808a33d482ebea2715c4b4f0b5a936f1a73.tar.gz
px4-firmware-ef065808a33d482ebea2715c4b4f0b5a936f1a73.tar.bz2
px4-firmware-ef065808a33d482ebea2715c4b4f0b5a936f1a73.zip
Merged master
Diffstat (limited to 'src/examples/hwtest/hwtest.c')
-rw-r--r--src/examples/hwtest/hwtest.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/examples/hwtest/hwtest.c b/src/examples/hwtest/hwtest.c
index d3b10f46e..95ff346bb 100644
--- a/src/examples/hwtest/hwtest.c
+++ b/src/examples/hwtest/hwtest.c
@@ -39,13 +39,15 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
*/
-#include <nuttx/config.h>
#include <stdio.h>
-#include <systemlib/err.h>
+#include <string.h>
+
#include <drivers/drv_hrt.h>
-#include <uORB/uORB.h>
-#include <uORB/topics/actuator_controls.h>
+#include <nuttx/config.h>
+#include <systemlib/err.h>
#include <uORB/topics/actuator_armed.h>
+#include <uORB/topics/actuator_controls.h>
+#include <uORB/uORB.h>
__EXPORT int ex_hwtest_main(int argc, char *argv[]);
@@ -53,7 +55,7 @@ int ex_hwtest_main(int argc, char *argv[])
{
warnx("DO NOT FORGET TO STOP THE COMMANDER APP!");
warnx("(run <commander stop> to do so)");
- warnx("usage: http://px4.io/dev/examples/write_output");
+ warnx("usage: http://px4.io/dev/examples/write_output");
struct actuator_controls_s actuators;
memset(&actuators, 0, sizeof(actuators));