mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
sim: fix host_sleep unit error
Change-Id: Iaddd6381eb9870b709147d33b36482ae2e37c04d Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -66,7 +66,7 @@ uint64_t host_gettime(bool rtc)
|
||||
|
||||
void host_sleep(uint64_t nsec)
|
||||
{
|
||||
usleep(nsec);
|
||||
usleep(nsec / 1000);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user