mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 17:51:36 +08:00
uORB: Unit test called close vs px4_close
The unit test should have called px4_close(), not close(). Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print)
|
|||||||
usleep(1000);
|
usleep(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
close(pfd0);
|
px4_close(pfd0);
|
||||||
|
|
||||||
if (pubsub_task < 0) {
|
if (pubsub_task < 0) {
|
||||||
return test_fail("failed launching task");
|
return test_fail("failed launching task");
|
||||||
|
|||||||
Reference in New Issue
Block a user