mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
parent
430d4064b8
commit
571f8fb2f3
@ -46,15 +46,7 @@ class Framebuffer::Driver
|
||||
*/
|
||||
void usleep(unsigned us)
|
||||
{
|
||||
/* polling */
|
||||
if (us == 0)
|
||||
return;
|
||||
|
||||
unsigned ms = us / 1000;
|
||||
if (ms == 0)
|
||||
ms = 1;
|
||||
|
||||
Timer::Connection::msleep(ms);
|
||||
Timer::Connection::usleep(us);
|
||||
}
|
||||
} _delayer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user