aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/xinput/USB_XInput_API.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/xinput/USB_XInput_API.cpp')
-rw-r--r--cores/arduino/xinput/USB_XInput_API.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/xinput/USB_XInput_API.cpp b/cores/arduino/xinput/USB_XInput_API.cpp
index 678692d..ffd818c 100644
--- a/cores/arduino/xinput/USB_XInput_API.cpp
+++ b/cores/arduino/xinput/USB_XInput_API.cpp
@@ -34,7 +34,7 @@ boolean XInputUSB::connected() {
return USBDevice.configured();
}
-int XInputUSB::available() {
+uint8_t XInputUSB::available() {
return USB_Available(XINPUT_RX_ENDPOINT);
}