mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
drv_hrt: update signature of ts_to_abstime
This commit is contained in:
@@ -572,7 +572,7 @@ hrt_absolute_time(void)
|
|||||||
* Convert a timespec to absolute time
|
* Convert a timespec to absolute time
|
||||||
*/
|
*/
|
||||||
hrt_abstime
|
hrt_abstime
|
||||||
ts_to_abstime(struct timespec *ts)
|
ts_to_abstime(const struct timespec *ts)
|
||||||
{
|
{
|
||||||
hrt_abstime result;
|
hrt_abstime result;
|
||||||
|
|
||||||
|
|||||||
@@ -653,7 +653,7 @@ hrt_absolute_time(void)
|
|||||||
* Convert a timespec to absolute time
|
* Convert a timespec to absolute time
|
||||||
*/
|
*/
|
||||||
hrt_abstime
|
hrt_abstime
|
||||||
ts_to_abstime(struct timespec *ts)
|
ts_to_abstime(const struct timespec *ts)
|
||||||
{
|
{
|
||||||
hrt_abstime result;
|
hrt_abstime result;
|
||||||
|
|
||||||
|
|||||||
@@ -694,7 +694,7 @@ hrt_absolute_time(void)
|
|||||||
* Convert a timespec to absolute time
|
* Convert a timespec to absolute time
|
||||||
*/
|
*/
|
||||||
hrt_abstime
|
hrt_abstime
|
||||||
ts_to_abstime(struct timespec *ts)
|
ts_to_abstime(const struct timespec *ts)
|
||||||
{
|
{
|
||||||
hrt_abstime result;
|
hrt_abstime result;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user