From ec52f31d843e3da3c058adf5a587652717a2e447 Mon Sep 17 00:00:00 2001 From: Tkostas Date: Sat, 4 Feb 2023 23:36:47 +0100 Subject: [PATCH] Change comment location in dev_lowlevel (#249) Comment location was misleading, intellisense associate the comment to the typedef type instead of struct usb_endpoint_configuration. --- usb/device/dev_lowlevel/dev_lowlevel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usb/device/dev_lowlevel/dev_lowlevel.h b/usb/device/dev_lowlevel/dev_lowlevel.h index eef6540..4b2c481 100644 --- a/usb/device/dev_lowlevel/dev_lowlevel.h +++ b/usb/device/dev_lowlevel/dev_lowlevel.h @@ -9,8 +9,9 @@ #include "usb_common.h" -// Struct in which we keep the endpoint configuration typedef void (*usb_ep_handler)(uint8_t *buf, uint16_t len); + +// Struct in which we keep the endpoint configuration struct usb_endpoint_configuration { const struct usb_endpoint_descriptor *descriptor; usb_ep_handler handler;