mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 01:41:36 +08:00
drv_hrt restore dsp_offset and remove unused qurt code (#11139)
- Fixes #11134
This commit is contained in:
@@ -162,7 +162,11 @@ hrt_abstime _hrt_absolute_time_internal()
|
||||
{
|
||||
struct timespec ts;
|
||||
px4_clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
#ifdef __PX4_QURT
|
||||
return ts_to_abstime(&ts) + dsp_offset;
|
||||
#else
|
||||
return ts_to_abstime(&ts);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __PX4_QURT
|
||||
|
||||
Reference in New Issue
Block a user