Browse Source

drv_hrt: update signature of ts_to_abstime

sbg
Julian Oes 6 years ago
parent
commit
a193e4117c
  1. 2
      src/drivers/kinetis/drv_hrt.c
  2. 2
      src/drivers/samv7/drv_hrt.c
  3. 2
      src/drivers/stm32/drv_hrt.c

2
src/drivers/kinetis/drv_hrt.c

@ -572,7 +572,7 @@ hrt_absolute_time(void) @@ -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;

2
src/drivers/samv7/drv_hrt.c

@ -653,7 +653,7 @@ hrt_absolute_time(void) @@ -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;

2
src/drivers/stm32/drv_hrt.c

@ -694,7 +694,7 @@ hrt_absolute_time(void) @@ -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;

Loading…
Cancel
Save