mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
sim: fix host_sleep unit error
Change-Id: Iaddd6381eb9870b709147d33b36482ae2e37c04d Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -81,7 +81,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