mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 03:53:33 +08:00
Merged master into cmake-2
This commit is contained in:
@@ -303,6 +303,11 @@ int VCDevExample::main()
|
||||
ret = 1;
|
||||
goto fail2;
|
||||
}
|
||||
PX4_INFO("TEST: 100ms TIMEOUT POLL -----------");
|
||||
if(do_poll(fd, 0, 30, 100)) {
|
||||
ret = 1;
|
||||
goto fail2;
|
||||
}
|
||||
PX4_INFO("TEST: 1 SEC TIMOUT POLL ------------");
|
||||
if(do_poll(fd, 1000, 3, 0)) {
|
||||
ret = 1;
|
||||
|
||||
Reference in New Issue
Block a user