Convert UCTimers to use UCoreClock

This commit is contained in:
Nils O. Selåsdal
2013-03-02 21:16:22 +01:00
parent 42269a8a91
commit b0e9988aa5
4 changed files with 25 additions and 12 deletions
+1 -3
View File
@@ -69,9 +69,7 @@ int main(int argc, char *argv[])
uc_timer_add(&timers, &my_struct2.timer, 10, 0);
for(;;) {
struct timeval now;
gettimeofday(&now, NULL);
uc_timers_run(&timers, &now);
uc_timers_run(&timers);
#ifndef FULL_SPEED
usleep(1000);
#endif