This is an automated email from the ASF dual-hosted git repository.

xiaoxiang 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 a907e2a  kinetis:flexcan fixed compile error 
clock_systimespec->clock_systime_timespec
a907e2a is described below

commit a907e2ad63b60629e74e022beaf00e1bb2145489
Author: David Sidrane <david.sidr...@nscdg.com>
AuthorDate: Wed Oct 14 04:02:03 2020 -0700

    kinetis:flexcan fixed compile error 
clock_systimespec->clock_systime_timespec
---
 arch/arm/src/kinetis/kinetis_flexcan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/kinetis/kinetis_flexcan.c 
b/arch/arm/src/kinetis/kinetis_flexcan.c
index 1ef41c4..c201dc4 100644
--- a/arch/arm/src/kinetis/kinetis_flexcan.c
+++ b/arch/arm/src/kinetis/kinetis_flexcan.c
@@ -642,7 +642,7 @@ static int kinetis_transmit(FAR struct kinetis_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)
     {
@@ -1102,7 +1102,7 @@ static void kinetis_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

Reply via email to