mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-30 11:03:48 -06:00
Increase sleep time when polling for all other APs started.
Also fix warning about usleep not being defined.
This commit is contained in:
parent
242bd77927
commit
3028cd31f9
@ -31,6 +31,8 @@
|
||||
#include "temperature.h"
|
||||
#include "vmem.h"
|
||||
|
||||
#include "unistd.h"
|
||||
|
||||
#include "badram.h"
|
||||
#include "config.h"
|
||||
#include "display.h"
|
||||
@ -424,7 +426,7 @@ void main(void)
|
||||
if (init_state < 2 && my_cpu > 0) {
|
||||
cpu_state[my_cpu] = CPU_STATE_RUNNING;
|
||||
while (init_state < 2) {
|
||||
usleep(10);
|
||||
usleep(100);
|
||||
}
|
||||
}
|
||||
BARRIER;
|
||||
|
Loading…
Reference in New Issue
Block a user