From 5d170da76275e45e5014e7faa3a077c32e513d61 Mon Sep 17 00:00:00 2001 From: clydebarrow <2366188+clydebarrow@users.noreply.github.com> Date: Sun, 26 Oct 2025 09:45:49 +1000 Subject: [PATCH] Add instrumentation --- esphome/components/usb_host/usb_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/usb_host/usb_host.h b/esphome/components/usb_host/usb_host.h index cfc92bc637..5e9866f381 100644 --- a/esphome/components/usb_host/usb_host.h +++ b/esphome/components/usb_host/usb_host.h @@ -137,6 +137,7 @@ class USBClient : public Component { bool transfer_out(uint8_t ep_address, const transfer_cb_t &callback, const uint8_t *data, uint16_t length); void dump_config() override; void release_trq(TransferRequest *trq); + trq_bitmask_t get_trq_in_use() const { return trq_in_use_; } bool control_transfer(uint8_t type, uint8_t request, uint16_t value, uint16_t index, const transfer_cb_t &callback, const std::vector &data = {});