From 2986b3af7c628df2c2f04d23ad3f4455d11fb95f Mon Sep 17 00:00:00 2001 From: Russ Butler Date: Mon, 8 Apr 2019 17:30:22 -0500 Subject: [PATCH] Fix doxygen comment in USBDevice Update the doxygen to correctly describe the return value of endpoint_read_result. --- usb/device/USBPhy/USBPhy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;