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.
This commit is contained in:
Tkostas
2023-02-04 23:36:47 +01:00
committed by GitHub
parent 992348a8b4
commit ec52f31d84

View File

@@ -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;