mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -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 "temperature.h"
|
||||||
#include "vmem.h"
|
#include "vmem.h"
|
||||||
|
|
||||||
|
#include "unistd.h"
|
||||||
|
|
||||||
#include "badram.h"
|
#include "badram.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
@ -424,7 +426,7 @@ void main(void)
|
|||||||
if (init_state < 2 && my_cpu > 0) {
|
if (init_state < 2 && my_cpu > 0) {
|
||||||
cpu_state[my_cpu] = CPU_STATE_RUNNING;
|
cpu_state[my_cpu] = CPU_STATE_RUNNING;
|
||||||
while (init_state < 2) {
|
while (init_state < 2) {
|
||||||
usleep(10);
|
usleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BARRIER;
|
BARRIER;
|
||||||
|
Loading…
Reference in New Issue
Block a user