Skip to content

Commit 971b3bb

Browse files
committed
Moved send above recv in Xinput API header
Logical reordering, no functional change
1 parent 14f191e commit 971b3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/xinput/USB_XInput_API.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class XInputUSB {
3838
// API
3939
static bool connected(void);
4040
static int available(void);
41-
static int recv(void *buffer, uint8_t nbytes);
4241
static int send(const void *buffer, uint8_t nbytes);
42+
static int recv(void *buffer, uint8_t nbytes);
4343
static void setRecvCallback(void(*callback)(void));
4444

4545
// Non-API Data

0 commit comments

Comments
 (0)