diff options
Diffstat (limited to 'cores/arduino/xinput/USB_XInput_API.h')
-rw-r--r-- | cores/arduino/xinput/USB_XInput_API.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cores/arduino/xinput/USB_XInput_API.h b/cores/arduino/xinput/USB_XInput_API.h index 9f2e686..11fa100 100644 --- a/cores/arduino/xinput/USB_XInput_API.h +++ b/cores/arduino/xinput/USB_XInput_API.h @@ -37,9 +37,9 @@ class XInputUSB { public: // API static bool connected(void); - static int available(void); - static int send(const void *buffer, uint8_t nbytes); - static int recv(void *buffer, uint8_t nbytes); + static uint8_t available(void); + 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 |