drv_hrt restore dsp_offset and remove unused qurt code (#11139)

- Fixes #11134
This commit is contained in:
karliss
2019-01-03 14:58:53 -05:00
committed by Daniel Agar
parent caf26c78e3
commit 6a33b797ac
2 changed files with 4 additions and 430 deletions
@@ -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