diff options
Diffstat (limited to 'nuttx/net/send.c')
-rw-r--r-- | nuttx/net/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/send.c b/nuttx/net/send.c index 1b4407db1..ffa689996 100644 --- a/nuttx/net/send.c +++ b/nuttx/net/send.c @@ -290,7 +290,7 @@ static uint16_t send_interrupt(struct uip_driver_s *dev, void *pvconn, /* Update the send time */ #if defined(CONFIG_NET_SOCKOPTS) && !defined(CONFIG_DISABLE_CLOCK) - pstate->snd_time = g_system_timer; + pstate->snd_time = clock_systimer(); #endif } } @@ -463,7 +463,7 @@ ssize_t send(int sockfd, const void *buf, size_t len, int flags) /* Update the initial time for calculating timeouts */ #if defined(CONFIG_NET_SOCKOPTS) && !defined(CONFIG_DISABLE_CLOCK) - state.snd_time = g_system_timer; + state.snd_time = clock_systimer(); #endif /* Set up the callback in the connection */ |