1
0
mirror of synced 2025-02-21 04:26:35 +01:00

Added sleep to threads

my bad
This commit is contained in:
Aaron M 2019-09-28 11:30:52 +12:00
parent d5cc6fe642
commit 53e0ca7786
4 changed files with 4 additions and 0 deletions

View File

@ -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;
}

View File

@ -252,6 +252,7 @@ static int RunningThread(void *ptr)
}
oldFloat = newFloat;
oldFloat1 = newFloat1;
Sleep(300);
}
return 0;
}

View File

@ -148,6 +148,7 @@ static int RunningThread(void *ptr)
myTriggers->LeftRight(percentForce, percentForce, percentLength);
}
oldgear = newgear;
Sleep(300);
}
return 0;
}

View File

@ -252,6 +252,7 @@ static int RunningThread(void *ptr)
}
}
}
Sleep(300);
}
return 0;
}