diff --git a/usb/device/USBPhy/USBPhy.h b/usb/device/USBPhy/USBPhy.h index 449d88fd04..a1b5a9930d 100644 --- a/usb/device/USBPhy/USBPhy.h +++ b/usb/device/USBPhy/USBPhy.h @@ -283,7 +283,7 @@ public: * Finish a read on the given endpoint * * @param endpoint Endpoint to check - * @return true if data was read false otherwise + * @return The number of bytes received */ virtual uint32_t endpoint_read_result(usb_ep_t endpoint) = 0;