Browse Source

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>
sbg
Mark Charlebois 10 years ago
parent
commit
6d2efd0e8f
  1. 2
      src/modules/uORB/uORBTest_UnitTest.hpp

2
src/modules/uORB/uORBTest_UnitTest.hpp

@ -119,7 +119,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print) @@ -119,7 +119,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print)
usleep(1000);
}
close(pfd0);
px4_close(pfd0);
if (pubsub_task < 0) {
return test_fail("failed launching task");

Loading…
Cancel
Save