1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/usb/usbh.h> 8 #include "usbh_device.h" 9 10 #define USBH_USB_DEVICE_COUNT 1 11 12 static struct usb_device udevs[USBH_USB_DEVICE_COUNT]; 13 usbh_device_get_any(struct usbh_contex * const ctx)14struct usb_device *usbh_device_get_any(struct usbh_contex *const ctx) 15 { 16 udevs->ctx = ctx; 17 18 return udevs; 19 } 20