mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 03:57:09 +08:00
add sys_now() function porting
This commit is contained in:
parent
e156a8d62b
commit
1172b47d1e
@ -552,6 +552,11 @@ u32_t sys_jiffies(void)
|
||||
return rt_tick_get();
|
||||
}
|
||||
|
||||
u32_t sys_now(void)
|
||||
{
|
||||
return rt_tick_get() * (1000 / RT_TICK_PER_SECOND);
|
||||
}
|
||||
|
||||
#ifdef RT_LWIP_PPP
|
||||
u32_t sio_read(sio_fd_t fd, u8_t *buf, u32_t size)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user