mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
some fixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@398 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
450dab6fe5
commit
a5365695a4
4 changed files with 6 additions and 9 deletions
|
@ -11,7 +11,6 @@
|
|||
#include <linux/limits.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <sched.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
@ -653,9 +652,6 @@ static void simpleWait(int thissec, int lim_time)
|
|||
gettimeofday(&tval, 0);
|
||||
if (thissec != tval.tv_sec) tval.tv_usec+=1000000;
|
||||
|
||||
if (tval.tv_usec < lim_time)
|
||||
sched_yield();
|
||||
|
||||
while (tval.tv_usec < lim_time)
|
||||
{
|
||||
spend_cycles(1024);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue