hrt: remove hrt_elapsed_time_atomic

There's no protection on posix
This commit is contained in:
Beat Küng
2021-09-22 13:24:46 +02:00
parent 6f902e54f9
commit e73172b537
9 changed files with 3 additions and 87 deletions
@@ -83,7 +83,7 @@ int uORBTest::UnitTest::pubsublatency_main()
if (fds[0].revents & POLLIN) {
orb_copy(ORB_ID(orb_test_medium), test_multi_sub, &t);
unsigned elt = (unsigned)hrt_elapsed_time_atomic(&t.timestamp);
unsigned elt = (unsigned)hrt_elapsed_time(&t.timestamp);
latency_integral += elt;
timings[i] = elt;