sleep in BIOS loop; don't have to slam the CPU...

This commit is contained in:
Jorj Bauer 2018-02-07 14:12:29 -05:00
parent 673caef862
commit 0ed33f36d5
1 changed files with 4 additions and 1 deletions

View File

@ -267,7 +267,10 @@ uint8_t BIOS::GetAction(int8_t selection)
(digitalRead(RESETPIN) == HIGH)
#endif
) {
;
#ifndef TEENSYDUINO
usleep(100)
#endif
;
// Wait for either a keypress or the reset button to be pressed
}