mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 00:43:35 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user