mirror of https://github.com/JorjBauer/aiie.git
sleep in BIOS loop; don't have to slam the CPU...
This commit is contained in:
parent
673caef862
commit
0ed33f36d5
5
bios.cpp
5
bios.cpp
|
@ -267,7 +267,10 @@ uint8_t BIOS::GetAction(int8_t selection)
|
||||||
(digitalRead(RESETPIN) == HIGH)
|
(digitalRead(RESETPIN) == HIGH)
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
;
|
#ifndef TEENSYDUINO
|
||||||
|
usleep(100)
|
||||||
|
#endif
|
||||||
|
;
|
||||||
// Wait for either a keypress or the reset button to be pressed
|
// Wait for either a keypress or the reset button to be pressed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue