Skip to content

Commit 2986b3a

Browse files
committed
Fix doxygen comment in USBDevice
Update the doxygen to correctly describe the return value of endpoint_read_result.
1 parent 801e555 commit 2986b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usb/device/USBPhy/USBPhy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class USBPhy {
283283
* Finish a read on the given endpoint
284284
*
285285
* @param endpoint Endpoint to check
286-
* @return true if data was read false otherwise
286+
* @return The number of bytes received
287287
*/
288288
virtual uint32_t endpoint_read_result(usb_ep_t endpoint) = 0;
289289

0 commit comments

Comments
 (0)