drv_hrt: update signature of ts_to_abstime

This commit is contained in:
Julian Oes
2018-11-15 10:58:28 +01:00
parent d75389b2e4
commit a193e4117c
3 changed files with 3 additions and 3 deletions

View File

@@ -572,7 +572,7 @@ hrt_absolute_time(void)
* Convert a timespec to absolute time
*/
hrt_abstime
ts_to_abstime(struct timespec *ts)
ts_to_abstime(const struct timespec *ts)
{
hrt_abstime result;

View File

@@ -653,7 +653,7 @@ hrt_absolute_time(void)
* Convert a timespec to absolute time
*/
hrt_abstime
ts_to_abstime(struct timespec *ts)
ts_to_abstime(const struct timespec *ts)
{
hrt_abstime result;

View File

@@ -694,7 +694,7 @@ hrt_absolute_time(void)
* Convert a timespec to absolute time
*/
hrt_abstime
ts_to_abstime(struct timespec *ts)
ts_to_abstime(const struct timespec *ts)
{
hrt_abstime result;