From 971b3bb74113fc1bcd52122ba167849bded8ad99 Mon Sep 17 00:00:00 2001 From: David Madison Date: Sat, 9 Mar 2019 15:51:24 -0500 Subject: Moved send above recv in Xinput API header Logical reordering, no functional change --- cores/arduino/xinput/USB_XInput_API.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/xinput/USB_XInput_API.h') diff --git a/cores/arduino/xinput/USB_XInput_API.h b/cores/arduino/xinput/USB_XInput_API.h index 0a8fa43..9f2e686 100644 --- a/cores/arduino/xinput/USB_XInput_API.h +++ b/cores/arduino/xinput/USB_XInput_API.h @@ -38,8 +38,8 @@ public: // API static bool connected(void); static int available(void); - static int recv(void *buffer, uint8_t nbytes); static int send(const void *buffer, uint8_t nbytes); + static int recv(void *buffer, uint8_t nbytes); static void setRecvCallback(void(*callback)(void)); // Non-API Data -- cgit v1.2.3-18-g5258