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