diff --git a/src/port/samd.cpp b/src/port/samd.cpp index d1a93fa1..b5b539eb 100644 --- a/src/port/samd.cpp +++ b/src/port/samd.cpp @@ -4,11 +4,11 @@ #if !defined(ARDUINO_API_VERSION) int USB_SendControl(void* b, unsigned char c) { - USBDevice.sendControl(b, c); + return USBDevice.sendControl(b, c); } int USB_SendControl(uint8_t a, const void* b, uint8_t c) { - USBDevice.sendControl(b, c); + return USBDevice.sendControl(b, c); } #endif