Update os.c
This commit is contained in:
parent
510504a853
commit
a7e8defc52
@ -164,11 +164,8 @@ void osSetSpeedupEnable(bool enable)
|
|||||||
__ctru_speedup_config();
|
__ctru_speedup_config();
|
||||||
}
|
}
|
||||||
|
|
||||||
int usleep(useconds_t useconds)
|
int __libctru_nanosleep(const struct timespec *req, struct timespec *rem)
|
||||||
{
|
{
|
||||||
|
svcSleepThread(req->tv_sec * 1000000000ull + req->tv_nsec);
|
||||||
svcSleepThread(useconds * 1000ull);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user