Skip to content

Commit

Permalink
usr_hrt: Remove hrt_store_absolute_time
Browse files Browse the repository at this point in the history
Removed, as it is not needed
  • Loading branch information
pussuw committed Sep 12, 2022
1 parent 3924f13 commit 0185846
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions platforms/nuttx/src/px4/common/usr_hrt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ hrt_absolute_time(void)
return abstime;
}

/**
* Store the absolute time in an interrupt-safe fashion
*/
void
hrt_store_absolute_time(volatile hrt_abstime *t)
{
irqstate_t flags = px4_enter_critical_section();
*t = hrt_absolute_time();
px4_leave_critical_section(flags);
}

/**
* Event dispatcher thread
*/
Expand Down

0 comments on commit 0185846

Please sign in to comment.