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:
@@ -9,8 +9,9 @@
|
|||||||
|
|
||||||
#include "usb_common.h"
|
#include "usb_common.h"
|
||||||
|
|
||||||
// Struct in which we keep the endpoint configuration
|
|
||||||
typedef void (*usb_ep_handler)(uint8_t *buf, uint16_t len);
|
typedef void (*usb_ep_handler)(uint8_t *buf, uint16_t len);
|
||||||
|
|
||||||
|
// Struct in which we keep the endpoint configuration
|
||||||
struct usb_endpoint_configuration {
|
struct usb_endpoint_configuration {
|
||||||
const struct usb_endpoint_descriptor *descriptor;
|
const struct usb_endpoint_descriptor *descriptor;
|
||||||
usb_ep_handler handler;
|
usb_ep_handler handler;
|
||||||
|
|||||||
Reference in New Issue
Block a user