[ion] Add Ion::usleep

Change-Id: Ife70133410e55c3f0af9a838543042a3da618119
This commit is contained in:
Romain Goyet
2017-01-05 10:04:43 +01:00
parent 7252e3c1f4
commit 9b2fecfb12
3 changed files with 7 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ bool Ion::Keyboard::keyDown(Ion::Keyboard::Key key) {
}
void Ion::msleep(long ms) {
usleep(1000*ms);
::usleep(1000*ms);
sDisplay->redraw();
Fl::wait();
}