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