Fix runthru issue
This commit is contained in:
parent
8b6f34b08f
commit
84e3928390
@ -110,9 +110,9 @@ int readButtons() {
|
|||||||
int getBtn() {
|
int getBtn() {
|
||||||
while (1) {
|
while (1) {
|
||||||
int key = readButtons();
|
int key = readButtons();
|
||||||
if (isBlocking == 0) {
|
// if (isBlocking == 0) {
|
||||||
return key;
|
// return key;
|
||||||
}
|
// }
|
||||||
if (key != -1) {
|
if (key != -1) {
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user