From 1526b80e08237494e6a5111338c418ca689dc13d Mon Sep 17 00:00:00 2001 From: Roman Leonov Date: Wed, 26 Jun 2024 21:18:56 +0200 Subject: [PATCH] fix(hub): Changed type of next_uid member (uint8_t -> unsigned int) --- components/usb/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/usb/hub.c b/components/usb/hub.c index a11947952f..afaa9b9468 100644 --- a/components/usb/hub.c +++ b/components/usb/hub.c @@ -94,7 +94,7 @@ typedef struct { struct { TAILQ_HEAD(tailhead_devs, dev_tree_node_s) dev_nodes_tailq; /**< Tailq of attached devices */ - uint8_t next_uid; /**< Unique ID for next upcoming device */ + unsigned int next_uid; /**< Unique ID for next upcoming device */ } single_thread; /**< Single thread members don't require a critical section so long as they are never accessed from multiple threads */ struct {