[ION] Naive ion_sleep for the simulator

This commit is contained in:
Romain Goyet
2015-09-02 19:00:43 +02:00
parent ef1d927d14
commit ac85fe159c

View File

@@ -2,6 +2,7 @@ extern "C" {
#include <ion.h>
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
}
#include "platform.h"
#include <FL/Fl.H>
@@ -31,7 +32,7 @@ void ion_init() {
}
void ion_sleep() {
printf("ion_sleep\n");
usleep(1000);
Platform.display->redraw();
Fl::wait();
}