QuRT: enable uORB, and simulator

uORB, the simulator and simulated devices now run

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-05-13 18:03:08 -07:00
parent 884f62878d
commit 8e346a06fb
9 changed files with 36 additions and 35 deletions
@@ -37,6 +37,7 @@
* @author Mark Charlebois <mcharleb@gmail.com>
*/
#include "hrt_test.h"
#include <px4_log.h>
#include <px4_app.h>
#include <px4_tasks.h>
#include <stdio.h>
@@ -190,16 +190,20 @@ int VCDevExample::main()
px4_close(fd);
}
else if (i > 0) {
if (ret == 0)
if (ret == 0) {
PX4_INFO("==== Nothing to read - PASS\n");
else
}
else {
PX4_INFO("==== poll returned %d\n", ret);
}
}
else if (i == 0) {
if (ret == 1)
if (ret == 1) {
PX4_INFO("==== %d to read - %s\n", ret, fds[0].revents & POLLIN ? "PASS" : "FAIL");
else
}
else {
PX4_INFO("==== %d to read - FAIL\n", ret);
}
}
++i;