mirror of https://github.com/falsovsky/arduino.git
Bug
This commit is contained in:
parent
ac4e8f2496
commit
e8bd762fe8
|
@ -193,7 +193,7 @@ void loop() {
|
||||||
joySt.buttons = joySt.buttons | 8;
|
joySt.buttons = joySt.buttons | 8;
|
||||||
}
|
}
|
||||||
if (btn_x && bitRead(controller_data, 6) == 1) {
|
if (btn_x && bitRead(controller_data, 6) == 1) {
|
||||||
btn_x = true;
|
btn_x = false;
|
||||||
joySt.buttons = joySt.buttons & 247;
|
joySt.buttons = joySt.buttons & 247;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue