mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-11-24 01:52:17 -05:00
Update RetroJoystickAdapter_Nunchuck.ino
This commit is contained in:
parent
1fafc37bc3
commit
0b0cf04487
@ -183,7 +183,7 @@ void loop() {
|
||||
while(Wire.available()) {
|
||||
Joystick[0].data[i] = Wire.read();
|
||||
i++;
|
||||
if (i > JOYSTICK_DATA_SIZE) break;
|
||||
if (i >= JOYSTICK_DATA_SIZE) break;
|
||||
}
|
||||
|
||||
//detect if init is needed
|
||||
|
Loading…
Reference in New Issue
Block a user