Skip to content

Commit dfc7a91

Browse files
committed
Remove receive() call from all examples
No longer needed with the receive callback in place.
1 parent 5c97765 commit dfc7a91

3 files changed

Lines changed: 0 additions & 7 deletions

File tree

examples/BasicGamepad/BasicGamepad.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,4 @@ void loop() {
7474

7575
// Send control data to the computer
7676
XInput.send();
77-
78-
// Receive data (player number, rumble motors, etc.)
79-
XInput.receive();
8077
}

examples/TestAll/TestAll.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,4 @@ void loop() {
135135

136136
// Send values to PC
137137
XInput.send();
138-
139-
// Receive data from PC
140-
XInput.receive();
141138
}

examples/WiiClassicController/WiiClassicController.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,4 @@ void loop() {
7777
}
7878

7979
XInput.send();
80-
XInput.receive();
8180
}

0 commit comments

Comments
 (0)