File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ boolean XInputUSB::connected() {
3434 return USBDevice.configured ();
3535}
3636
37- int XInputUSB::available () {
37+ uint8_t XInputUSB::available () {
3838 return USB_Available (XINPUT_RX_ENDPOINT);
3939}
4040
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ class XInputUSB {
3737public:
3838 // API
3939 static bool connected (void );
40- static int available (void );
41- static int recv ( void *buffer, uint8_t nbytes);
42- static int send ( const void *buffer, uint8_t nbytes);
40+ static uint8_t available (void );
41+ 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
You can’t perform that action at this time.
0 commit comments