mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 02:00:36 +08:00
drv_hrt posix: remove unused code and remove locking from hrt_absolute_time
This commit is contained in:
@@ -173,25 +173,6 @@ __EXPORT extern void hrt_init(void);
|
||||
|
||||
#ifdef __PX4_POSIX
|
||||
|
||||
/**
|
||||
* Start to delay the HRT return value.
|
||||
*
|
||||
* Until hrt_stop_delay() is called the HRT calls will return the timestamp
|
||||
* at the instance then hrt_start_delay() was called.
|
||||
*/
|
||||
__EXPORT extern void hrt_start_delay(void);
|
||||
|
||||
/**
|
||||
* Stop to delay the HRT.
|
||||
*/
|
||||
__EXPORT extern void hrt_stop_delay(void);
|
||||
|
||||
/**
|
||||
* Stop to delay the HRT, but with an exact delta time.
|
||||
*/
|
||||
__EXPORT extern void hrt_stop_delay_delta(hrt_abstime delta);
|
||||
|
||||
|
||||
__EXPORT extern hrt_abstime hrt_reset(void);
|
||||
|
||||
__EXPORT extern hrt_abstime hrt_absolute_time_offset(void);
|
||||
|
||||
Reference in New Issue
Block a user