This is an automated email from the ASF dual-hosted git repository.
aguettouche 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 b64060f s32k1xx:flexcan clock_systimespec -> clock_systime_timespec
b64060f is described below
commit b64060f717866c77338a032be4287b5ee097835d
Author: David Sidrane <[email protected]>
AuthorDate: Thu Jun 18 12:19:06 2020 -0700
s32k1xx:flexcan clock_systimespec -> clock_systime_timespec
---
arch/arm/src/s32k1xx/s32k1xx_flexcan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/src/s32k1xx/s32k1xx_flexcan.c
b/arch/arm/src/s32k1xx/s32k1xx_flexcan.c
index 75cc252..a49480b 100644
--- a/arch/arm/src/s32k1xx/s32k1xx_flexcan.c
+++ b/arch/arm/src/s32k1xx/s32k1xx_flexcan.c
@@ -643,7 +643,7 @@ static int s32k1xx_transmit(FAR struct s32k1xx_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)
{
@@ -1103,7 +1103,7 @@ static void s32k1xx_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