mirror of https://github.com/JorjBauer/aiie.git
fix SDL build
This commit is contained in:
parent
18fa352ab4
commit
2bf4297c1c
8
bios.cpp
8
bios.cpp
|
@ -286,11 +286,11 @@ uint8_t BIOS::GetAction(int8_t selection)
|
||||||
(resetButtonDebouncer.read() == HIGH)
|
(resetButtonDebouncer.read() == HIGH)
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
#ifndef TEENSYDUINO
|
#ifdef TEENSYDUINO
|
||||||
usleep(100)
|
threads.delay(1);
|
||||||
|
#else
|
||||||
|
usleep(100);
|
||||||
#endif
|
#endif
|
||||||
threads.delay(1);
|
|
||||||
;
|
|
||||||
// Wait for either a keypress or the reset button to be pressed
|
// Wait for either a keypress or the reset button to be pressed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,9 @@ extern uint32_t g_speed;
|
||||||
extern bool g_invertPaddleX;
|
extern bool g_invertPaddleX;
|
||||||
extern bool g_invertPaddleY;
|
extern bool g_invertPaddleY;
|
||||||
|
|
||||||
|
#ifdef TEENSYDUINO
|
||||||
#include <TeensyThreads.h>
|
#include <TeensyThreads.h>
|
||||||
extern Threads::Mutex spi_lock;
|
extern Threads::Mutex spi_lock;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue