Added sleep to threads
my bad
This commit is contained in:
parent
d5cc6fe642
commit
53e0ca7786
@ -111,6 +111,7 @@ static int RunningThread(void *ptr)
|
||||
myTriggers->LeftRight(0, percentForce, percentLength);
|
||||
myTriggers->Constant(myConstants->DIRECTION_FROM_RIGHT, percentForce);
|
||||
}
|
||||
Sleep(300);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -252,6 +252,7 @@ static int RunningThread(void *ptr)
|
||||
}
|
||||
oldFloat = newFloat;
|
||||
oldFloat1 = newFloat1;
|
||||
Sleep(300);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -148,6 +148,7 @@ static int RunningThread(void *ptr)
|
||||
myTriggers->LeftRight(percentForce, percentForce, percentLength);
|
||||
}
|
||||
oldgear = newgear;
|
||||
Sleep(300);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -252,6 +252,7 @@ static int RunningThread(void *ptr)
|
||||
}
|
||||
}
|
||||
}
|
||||
Sleep(300);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user