arch/arm/imxrt: replace clock_systimespec with clock_systime_timespec

since clock_systimespec doesn't exist anymore

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-12-11 20:08:22 +08:00 committed by David Sidrane
parent 6158b6b77b
commit 73d4832c15

View File

@ -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