You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2020/12/11 12:20:47 UTC
[incubator-nuttx] branch master updated: arch/arm/imxrt: replace
clock_systimespec with clock_systime_timespec
This is an automated email from the ASF dual-hosted git repository.
davids5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 73d4832 arch/arm/imxrt: replace clock_systimespec with clock_systime_timespec
73d4832 is described below
commit 73d4832c151d72196584f7d206fb48986472d55d
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Dec 11 20:08:22 2020 +0800
arch/arm/imxrt: replace clock_systimespec with clock_systime_timespec
since clock_systimespec doesn't exist anymore
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
arch/arm/src/imxrt/imxrt_flexcan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/src/imxrt/imxrt_flexcan.c b/arch/arm/src/imxrt/imxrt_flexcan.c
index e948e60..6d3c069 100644
--- a/arch/arm/src/imxrt/imxrt_flexcan.c
+++ b/arch/arm/src/imxrt/imxrt_flexcan.c
@@ -609,7 +609,7 @@ static int imxrt_transmit(FAR struct imxrt_driver_s *priv)
#ifdef CONFIG_NET_CAN_RAW_TX_DEADLINE
struct timespec ts;
- clock_systimespec(&ts);
+ clock_systime_timespec(&ts);
if (priv->dev.d_sndlen > priv->dev.d_len)
{
@@ -1069,7 +1069,7 @@ static void imxrt_txtimeout_work(FAR void *arg)
struct timespec ts;
struct timeval *now = (struct timeval *)&ts;
- clock_systimespec(&ts);
+ clock_systime_timespec(&ts);
now->tv_usec = ts.tv_nsec / 1000; /* timespec to timeval conversion */
/* The watchdog timed out, yet we still check mailboxes in case the